Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconHold read-only Data Retention Policy role
-
DeliveryEnumerate policy IDs via data retention API
-
ExploitCall GET /api/v4/data_retention/policies/{policy_id}/teams
-
InstallExtract private team invite_id from unsanitized response
-
C2Construct invite URL from harvested invite_id
-
ExecuteJoin private team without authorization
-
ImpactAccess confidential team messages and files
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 | Exploitation requires: (1) Mattermost Enterprise with the Data Retention Policy feature enabled and at least one policy configured; (2) an authenticated user account that has been granted the read-only Data Retention Policy system role - this is NOT a default role and must be explicitly assigned by a system admin; (3) at least one private team associated with a data retention policy. What limits exploitation: the attacker must already be an authenticated Mattermost user on the same server; the vulnerable role is an enterprise-only administrative role not present in Team Edition or in accounts without explicit assignment; exploitation requires knowing or enumerating a valid |
| Impact | The vendor-assigned CVSS 6.5 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N) accurately reflects the network-reachable API, low complexity once the role is held, and significant confidentiality and integrity impact. PR:H is defensible since Data Retention Policy is an enterprise-tier administrative role not granted to ordinary users, but it warrants scrutiny: in some Mattermost deployments, compliance auditors receive this role without broader admin privileges, making it a lower-trust identity than PR:H implies. There is no KEV listing and no reported POC, so real-world exploitation is opportunistic rather than widespread. EPSS data was not provided in the input. The practical blast radius is limited to organizations that (a) run Mattermost Enterprise with Data Retention enabled and (b) have granted the read-only Data Retention Policy role to users who should not access private teams. In such deployments the impact is material - a compliance auditor silently joining and reading private executive or HR channels without authorization. For deployments without Data Retention licensing or where only super-admins hold the role, risk is negligible. |
| Exploit ScenarioDerived | A compliance auditor account is granted the read-only Data Retention Policy role in a Mattermost Enterprise deployment. The auditor issues a single authenticated GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 15, 2026
Mattermost's data retention teams API endpoint fails to sanitize returned Team objects, exposing private teams' secret invite_id and email fields to any authenticated user holding only the read-only Data Retention Policy permission. An attacker exploiting CVE-2026-91181 can call GET /api/v4/data_retention/policies/{policy_id}/teams, harvest the invite_id of private teams they have no membership in, and use it to join those teams without authorization - effectively achieving lateral movement across private channels and communications. No public exploit code has been identified and the vulnerability is not listed in CISA KEV at time of analysis.
RemediationAI
Upgrade to the first version beyond the stated affected ceiling in your release train: beyond 10.11.22 on the 10.11.x branch, beyond 11.7.7 on the 11.7.x branch, beyond 11.8.4 on the 11.8.x branch, or beyond 11.9.0 on the 11.9.x branch. Exact patched version identifiers are not independently confirmed from the input data - consult https://mattermost.com/security-updates and the MMSA-2026-00702 advisory for the precise fix release. As a compensating control pending upgrade, revoke the read-only Data Retention Policy permission from any user who does not require it; note this may disrupt compliance audit workflows. Alternatively, rotate the invite_id for sensitive private teams (via team settings) immediately after patching to invalidate any invite_id values that may have been harvested; this does not prevent future leakage on unpatched systems but limits post-exposure window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in 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-hosted enterprise team messaging platform. Its enterprise Data Retention Policy feature allows administrators to assign a read-only policy management role to compliance officers or auditors. The /api/v4/data_retention/policies/{policy_id}/teams endpoint retrieves Team objects associated with a retention policy but does not strip sensitive fields before serialization, violating the principle of field-level output sanitization. The root cause is CWE-863 (Incorrect Authorization): the server correctly gates access to the endpoint by role, but then returns the full internal Team model including invite_id (a secret token used to generate join-links for private teams) and email (the team's contact address). An attacker who obtains the invite_id can construct a valid invite URL independently of any membership check, bypassing team-level access controls. Affected CPE covers Mattermost 10.11.x through 10.11.22, 11.7.x through 11.7.7, 11.8.x through 11.8.4, and 11.9.0.
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Network-reachable API, no complexity, but requires explicit Data Retention Policy role (PR:H); exposes secret tokens and enables unauthorized team join (C:H/I:H); no availability impact.
Primary rating from Vendor (mattermost).
CVSS VectorVendor: mattermost
DescriptionCVE.org
Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7.x <= 11.7.7, 10.11.x <= 10.11.22 Fail to sanitize Team objects returned by the data retention teams endpoint which allows an authenticated user holding only the read-only Data Retention Policy permission to obtain a private team's secret invite_id and email, and use it to join the team without authorization, via GET /api/v4/data_retention/policies/{policy_id}/teams.. Mattermost Advisory ID: MMSA-2026-00702
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Mattermost
View allMattermost 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
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
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
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
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
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
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
EUVD-2026-78160
GHSA-w86c-vmwh-pppx
NVD
CVE.org
EPSS
Exploit-DB