Mattermost Incorrect Authorization vulnerability

Description

Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to properly enforce channel member management permissions when adding participants to playbook runs. This allows authenticated users with member-level permissions to bypass system admin restrictions and add or remove users to/from private channels via the playbook run participants feature, even when the 'Manage Members' permission has been explicitly removed. This can lead to unauthorized access to sensitive channel content and allow guest users to gain channel management privileges.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-06-30 18:31:50 UTC
Updated
2025-06-30 20:40:34 UTC
GitHub reviewed
2025-06-30 20:40:33 UTC
NVD published
2025-06-30

EPSS Score

Score Percentile
0.07% 22.67%

CVSS Scores

Base score Version Severity Vector
5.4 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-863 Incorrect Authorization

Affected packages (7)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/mattermost/mattermost-server < 0.0.0-20250513065225-4ae5d647fb88 0.0.0-20250513065225-4ae5d647fb88
go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250513065225-4ae5d647fb88 8.0.0-20250513065225-4ae5d647fb88
go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.16 9.11.16
go github.com/mattermost/mattermost/server/v8 >= 10.5.0, < 10.5.6 10.5.6
go github.com/mattermost/mattermost/server/v8 >= 10.6.0, < 10.6.6 10.6.6
go github.com/mattermost/mattermost/server/v8 >= 10.7.0, < 10.7.3 10.7.3
go github.com/mattermost/mattermost/server/v8 >= 10.8.0, < 10.8.1 10.8.1

References

cvelogic Threat Intelligence