CVE-2025-25274:
Mattermost Fails to Restrict Command Execution in Archived Channels
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.16746%
CWE
Published
3/21/2025
Updated
3/21/2025
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/mattermost/mattermost/server/v8 | go | ||
github.com/mattermost/mattermost/server/v8 | go | ||
github.com/mattermost/mattermost/server/v8 | go | ||
github.com/mattermost/mattermost/server/v8 | go |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing authorization checks for archived channels during command execution. The primary suspect is the command execution handler (ExecuteCommand
) which would naturally be the entry point for processing commands. The medium-confidence HasPermissionToChannel
function is included because authorization flaws often involve permission-checking utilities. Both align with CWE-863 (Incorrect Authorization) by failing to enforce archived channel state constraints.