Skip to main content

Mattermost CVE-2026-6739

| EUVDEUVD-2026-36499 HIGH
Incorrect Authorization (CWE-863)
2026-06-12 Mattermost GHSA-m2w9-h2mm-79qr
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as delegated user-management sub-admin
  2. Delivery
    Identify role patch API endpoint
  3. Exploit
    Send PATCH request modifying built-in role permissions
  4. Install
    Server skips system-level permission check
  5. C2
    Built-in role gains elevated permissions
  6. Execute
    Inherit or assign role to attacker account
  7. Impact
    Operate as effective system_admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must already hold a Mattermost account with delegated user-management permissions (a custom or sub-admin role granted manage-users capabilities) and network reachability to the Mattermost server's REST API; full system_admin is NOT required, which is precisely why this is an escalation primitive. Exploitation is limited to deployments that actually issue such delegated roles to non-system_admin users - vanilla installations where only system_admin manages users are not exposed via this path - and requires invoking the role patch API against a protected built-in role (system_admin, team_admin, channel_admin, or similar default). No user interaction is required from victims, and no special platform or non-default server configuration beyond enabling delegated user-management is needed.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H reflects an authenticated, network-reachable attack with high (admin-delegated) privileges already required but yielding total compromise of confidentiality, integrity, and availability - consistent with the SSVC technical impact of 'total'. SSVC also reports exploitation 'none' and automatable 'no', and EPSS is essentially floor-level at 0.03% (9th percentile), indicating no observed in-the-wild use and low mass-exploitation likelihood. This is a real but bounded priority: the precondition of an existing delegated user-management role narrows the attacker pool to insiders or already-compromised sub-admin accounts, but in any deployment that uses delegated administration (common in larger Mattermost tenants) this is a direct path from sub-admin to full system_admin and should be patched promptly. No conflicting signals in the data; the CVSS PR:H and the description's 'authenticated users with delegated user-management permissions' agree.

Exploit ScenarioDerived

An attacker compromises or already controls a Mattermost account that has been delegated user-management permissions (for example, an HR or helpdesk sub-admin). They issue a crafted PATCH request to the role API targeting a built-in role such as channel_admin or team_admin and add high-impact system permissions to it; because every user holding that role automatically inherits the new permissions, the attacker - or any colluding account - gains effective system_admin capabilities over the entire Mattermost instance. No public exploit identified at time of analysis, but the attack is straightforward against the documented API once the precondition role is held.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 18, 2026

Privilege escalation in Mattermost collaboration platform allows authenticated users holding delegated user-management permissions to modify built-in system role permissions via the role patch API, bypassing a required system-level permission check. Affects Mattermost 10.11.x through 10.11.16, 11.5.x through 11.5.4, and 11.6.x through 11.6.1. No public exploit identified at time of analysis; EPSS is very low (0.03%) and the SSVC framework reports no observed exploitation.

Earlier versions of this analysis (2)
v2 Jun 18, 2026 - 15:28 cvss changed CVSS 7.2

Privilege escalation in Mattermost 10.11.x, 11.5.x, and 11.6.x allows authenticated users with delegated user-management permissions to modify built-in protected system roles via the role patch API, because the endpoint fails to enforce a required system-level permission check. Successful exploitation lets a low-privilege admin grant themselves or others elevated capabilities, undermining the role-based access control model. There is no public exploit identified at time of analysis and EPSS is very low (0.03%), but vendor-confirmed CVSS is 7.2 (High).

v1 Jun 12, 2026 - 17:34 CVSS 6.7

Privilege escalation in Mattermost's role patch API allows authenticated users holding delegated user-management permissions to modify protected default system roles, bypassing the system-level authorization check that should gate such changes. Affected branches span 11.6.x through 11.6.1, 11.5.x through 11.5.4, and 10.11.x through 10.11.16. No public exploit identified at time of analysis; the vendor CVSS score of 6.7 (PR:H) reflects the constrained entry point, but the C:H/I:H impact metrics underscore the significant downstream privilege escalation potential once that entry point is reached.

RemediationAI

Patch available per vendor advisory MMSA-2026-00656 (https://mattermost.com/security-updates); upgrade to the fixed release on your branch as published by Mattermost - exact fixed build numbers are not enumerated in the provided intelligence, so consult the advisory before deployment. Until you can patch, audit and minimize the set of accounts holding delegated user-management permissions, since only those accounts can reach the vulnerable role patch API path, and consider temporarily revoking custom roles that grant user-management without full system_admin to shrink the attack surface (trade-off: sub-admins will lose self-service user management until restored). Additionally, monitor server audit logs for unexpected calls to the role patch API and for permission changes on built-in roles (system_admin, team_admin, channel_admin) as a detective control; the side effect is increased log volume and the need for a triage process for legitimate role edits.

Affected VersionsENISA

Mattermost 10.11.0 ≤10.11.16
Mattermost 11.5.0 ≤11.5.4
Mattermost 10.11.0 ≤10.11.15
Mattermost 11.6.0 ≤11.6.1

Affected Packages

go github.com/mattermost/mattermost-server fix: 10.11.17+incompatible, 10.11.17, 11.5.5+incompatible, 11.5.5, 11.6.1+incompatible, 11.6.1
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20260501142004-99b73d4c4acf
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mattermost is a self-hostable team collaboration and messaging platform whose authorization model relies on a role-based access control (RBAC) system that distinguishes between user-scoped permissions (e.g., manage team members) and protected system-level permissions that govern built-in roles such as system_admin, team_admin, and channel_admin. The flaw is a CWE-863 incorrect authorization weakness: the role patch API endpoint enforces only the delegated user-management permission and fails to additionally require the system-level permission needed to mutate protected default roles, so a sub-admin with user-management delegation can rewrite the permission set of any built-in role. Once a built-in role definition is altered, every account that holds that role inherits the modified privileges, effectively turning a horizontal authorization gap into a server-wide privilege escalation.

Know when Mattermost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Mattermost) PRIMARY MEDIUM
NVD 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Network-reachable REST API (AV:N), no special conditions (AC:L), requires an existing delegated user-management admin account (PR:H), no victim interaction (UI:N), and full system_admin-equivalent compromise yields C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (Mattermost).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Severity Changed
Jun 18, 2026 - 15:22 NVD
MEDIUM HIGH
CVSS changed
Jun 18, 2026 - 15:22 NVD
6.7 (MEDIUM) 7.2 (HIGH)

DescriptionNVD

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 fail to require system-level permission when patching protected default system roles, which allows authenticated users with delegated user-management permissions to escalate privileges by altering built-in role permissions via the role patch API.. Mattermost Advisory ID: MMSA-2026-00656

Executive ViewAI

Why It Matters

Mattermost versions 10.11.0-10.11.16, 11.5.0-11.5.4, and 11.6.0-11.6.1 contain a privilege escalation vulnerability allowing authenticated users with delegated user-management permissions to modify built-in system role permissions without required authorization checks. Any organization using Mattermost with delegated administrative roles is at risk of unauthorized access escalation and privilege abuse by insiders or compromised accounts. The lack of an available vendor patch creates urgency for interim protective controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Revoke delegated user-management permissions from all accounts lacking business-critical need; (2) Enable detailed audit logging for all role modification API calls with alerts on unauthorized attempts; (3) Restrict administrative console access to a hardened bastion or VPN; (4) Implement multi-factor authentication for all administrative accounts; (5) Conduct monthly access reviews of delegated permissions; (6) Apply principle of least privilege-ensure delegated admins have only permissions required for their role.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-25279 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

CVE-2025-12421 CRITICAL
9.9 Nov 27

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t

CVE-2025-12419 CRITICAL
9.9 Nov 27

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2025-24490 CRITICAL
9.6 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy