Mattermost Server
CVE-2025-58075
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated account on server
-
DeliveryCapture original team invite token/RelayState
-
ExploitManipulate RelayState in join request
-
ExecutionBypass missing team-join authorization check
-
ImpactJoin arbitrary restricted team and access its content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 | The attacker must already possess a valid authenticated account on the target Mattermost server (CVSS PR:L), and the attack operates against the invite-based team-join flow by manipulating the RelayState value associated with the original invite token - a construct tied to SAML/SSO handling. The server's failure to re-verify team-join authorization lets the attacker join any team regardless of its join restrictions. Limiting factors: exploitation requires an existing account (not anonymous), targets a server that uses the affected invite/SSO join mechanism, and only affects the listed versions (10.11.x ≤ 10.11.1, 10.10.x ≤ 10.10.2, 10.5.x ≤ 10.5.10); impact is confined to unauthorized team membership and its data (no availability impact). |
| Impact | This is a genuine but conditional priority, not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, base 8.1) indicates a network-reachable, low-complexity attack requiring only low privileges (PR:L - an existing, authenticated low-level account) and no user interaction, with high confidentiality and integrity impact but no availability impact. This aligns well with CWE-862 (Missing Authorization): the server fails to verify team-join permission when the original invite token's RelayState is manipulated. No EPSS score, SSVC decision, KEV listing, or POC reference was supplied, so exploitation-likelihood signals are entirely absent - the 8.1 is a theoretical base severity with no corroborating real-world exploitation evidence at this time. The limiting factor that tempers the score is PR:L: an attacker must already hold a valid account on the target server, making this an insider/account-holder privilege-escalation-of-scope issue (crossing team boundaries) rather than a fully anonymous remote takeover. Net: real and worth patching promptly for any multi-team Mattermost deployment with sensitive team segregation, but the lack of EPSS/KEV/POC data means this should be treated as a confirmed-by-vendor authorization flaw of moderate-to-high priority, not an actively-exploited crisis. No conflicting signals were detected between the vector and the description. |
| Exploit ScenarioDerived | An authenticated low-privilege user on a Mattermost server intercepts or reuses the RelayState value tied to an original team invite token and manipulates it during the join flow. Because the server never re-checks whether the user is permitted to join that team, the attacker is added to any team on the server - including restricted ones - gaining read/write access to its channels and content. No public exploit code was identified at time of analysis, and the attack requires an existing account on the target instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Mattermost Server 10.11.x through 10.11.1, 10.10.x through 10.10.2, and 10.5.x through 10.5.10 allows an authenticated low-privileged user to join any team despite join restrictions by manipulating the RelayState value in the invite-token flow. The root cause is a missing authorization check (CWE-862) that fails to verify the user's permission to join the team associated with the original invite token. No public exploit identified at time of analysis, but the CVSS 8.1 rating reflects high confidentiality and integrity impact from unauthorized team access; exploitation requires a valid account on the target server.
RemediationAI
Consult the vendor advisory at https://mattermost.com/security-updates to identify and upgrade to the fixed Mattermost Server release for your branch; the provided data specifies vulnerable ranges ending at 10.11.1, 10.10.2, and 10.5.10 but does not include an exact fixed version. If an immediate upgrade is not possible, temporarily disable or restrict invite-token-based team joining to administrators, review and rotate existing invite tokens, and audit team memberships for unexpected additions; these compensating controls can interrupt self-service onboarding and do not remove the underlying missing authorization check. Because exploitation requires an authenticated low-privileged account, enforce least privilege and review accounts that can initiate or complete team joins.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mattermost Server is a self-hosted collaboration platform whose team-join workflow can use invite tokens and RelayState parameters, particularly in SAML/SSO-related handling. CVE-2025-58075 is classified as CWE-862 Missing Authorization: the server accepts a manipulated RelayState while processing an original invite token without re-checking whether the authenticated user is authorized to join the target team. The CPE data identifies mattermost:mattermost_server as the affected product, with vulnerable ranges 10.11.x <= 10.11.1, 10.10.x <= 10.10.2, and 10.5.x <= 10.5.10. Per the CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, an attacker with a low-privileged authenticated account can exploit the flaw remotely without user interaction, gaining high confidentiality and integrity impact through unauthorized team membership, while availability is not affected.
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:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable join flow with low complexity; PR:L because an authenticated account is required; C:H/I:H for unauthorized read/write to restricted teams; A:N as no service disruption occurs.
Primary rating from Vendor (mattermost).
CVSS VectorVendor: mattermost
DescriptionCVE.org
Mattermost versions 10.11.x <= 10.11.1, 10.10.x <= 10.10.2, 10.5.x <= 10.5.10 fail to verify a user has permission to join a Mattermost team using the original invite token which allows any attacked to join any team on a Mattermost server regardless of restrictions via manipulating the RelayState
Executive ViewAI
Mattermost Server versions 10.11.0-10.11.1, 10.10.0-10.10.2, and 10.5.0-10.5.10 contain a missing authorization check that lets any user with a valid account join restricted teams via a manipulated invite-token flow. This could expose sensitive team discussions and files to unauthorized internal users, undermining confidentiality and integrity of collaboration. Leadership should prioritize because no vendor patch is currently available and the vulnerability affects core access controls.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict or disable invite-token-based team joining, enforce strict team join permissions via admin console, audit team membership changes, monitor for RelayState manipulation in logs, and limit low-privileged account capabilities.
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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB