Skip to main content

Mattermost Server CVE-2025-58075

HIGH
Missing Authorization (CWE-862)
2025-10-16 responsibledisclosure@mattermost.com
8.1
CVSS 3.1 · Vendor: mattermost
View

Attack ChainAIDerived

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

  1. Access
    Obtain authenticated account on server
  2. Delivery
    Capture original team invite token/RelayState
  3. Exploit
    Manipulate RelayState in join request
  4. Execution
    Bypass missing team-join authorization check
  5. Impact
    Join 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.

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

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

Alert me

AnalysisAIv1 – 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

go github.com/mattermost/mattermost-server fix: 10.5.11+incompatible, 10.5.11, 10.10.3+incompatible, 10.10.3, 10.11.2+incompatible, 10.11.2
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-20250815100400-2d5cdc6e217e

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

Vendor (mattermost) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

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.

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

Primary rating from Vendor (mattermost).

CVSS VectorVendor: mattermost

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

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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
popular self-hosted team collaboration server, common but not ubiquitous
Data Quality
2 sources
Confidence: Low

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.3%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
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-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-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-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

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