Skip to main content

Mattermost CVE-2026-6334

| EUVDEUVD-2026-30743 LOW
Authentication Bypass by Primary Weakness (CWE-305)
2026-05-18 Mattermost GHSA-jp3f-x449-4q75
3.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Register malicious OAuth client
  2. Delivery
    Social engineer user authorization flow
  3. Exploit
    Intercept authorization code from logs/network
  4. Install
    Craft token exchange with stolen code
  5. C2
    Redeem code using attacker's client_id
  6. Execute
    Obtain unauthorized access token
  7. Impact
    Access victim user data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
Exploitation Conditions

Requires deployment of Mattermost with OAuth 2.0 authorization code flow enabled and at least one OAuth client application registered. Attacker must possess High privileges-specifically, the ability to register or control an authenticated OAuth client application within the Mattermost instance, which typically requires administrative access or developer permissions to create OAuth apps. Attack complexity is High because successful exploitation requires intercepting authorization codes during the brief window between issuance and legitimate redemption, necessitating either network position to capture redirects, access to server logs containing authorization codes, or social engineering to manipulate redirect URIs. User interaction is Required as exploitation depends on a legitimate user initiating an OAuth authorization flow with a different client application. Does not affect deployments using only SAML, LDAP, or built-in authentication without OAuth client applications.

Impact

Real-world risk is constrained by multiple prerequisites despite the network attack vector. CVSS 3.1 score of 3.1 reflects Attack Complexity: High, Privileges Required: High, and User Interaction: Required, limiting practical exploitation. The attacker must operate an authenticated OAuth client application registered within the target Mattermost instance, intercept authorization codes in transit or via logging/monitoring access, and time the redemption before legitimate client use. Impact is limited to Low Confidentiality and Low Integrity with no Availability impact. No EPSS score provided to assess real-world exploitation probability. Not listed in CISA KEV, indicating no confirmed active exploitation. Primary risk exists in environments with untrusted third-party OAuth applications or where OAuth client secrets may be compromised. This is a protocol-level implementation flaw rather than an easily exploitable remote code execution, making it lower priority than network-exposed vulnerabilities with AC:L or PR:N characteristics.

Exploit ScenarioDerived

An attacker registers a malicious OAuth client application within a target Mattermost instance and obtains valid client credentials. When a legitimate user authorizes a different OAuth client (such as a mobile app or integration), the attacker intercepts the authorization code through access to application logs, network traffic, or redirect URI manipulation. The attacker then crafts a token exchange request to Mattermost's OAuth endpoint using their own client credentials but the intercepted authorization code. Due to missing client identity binding checks, Mattermost issues an access token granting the malicious client access to the victim user's session or data intended for the legitimate application. Public exploit code availability is not confirmed from available data.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

AnalysisAIv1 – May 18, 2026

OAuth authorization code interception in Mattermost 10.11.x through 10.11.13 and 11.5.x through 11.5.1 allows authenticated OAuth clients to redeem authorization codes issued to different clients. An attacker controlling a malicious OAuth application can intercept and exchange authorization codes meant for legitimate applications, potentially gaining unauthorized access to user data or sessions. CVSS score of 3.1 reflects high attack complexity and required privileges, with EPSS data not provided. Vendor patch released per Mattermost advisory MMSA-2026-00570.

RemediationAI

Upgrade to patched Mattermost versions released per advisory MMSA-2026-00570, though exact fixed version numbers are not specified in available data-consult https://mattermost.com/security-updates for release-specific patch versions beyond 11.5.1 and 10.11.13. As an interim control, audit and restrict OAuth client application registrations to trusted first-party applications only, removing or disabling third-party OAuth integrations until patching is complete. Implement network-level monitoring to detect anomalous token exchange requests with mismatched client_id parameters compared to authorization grant logs. Review OAuth audit logs for suspicious authorization code redemptions occurring from unexpected client origins. Note that disabling OAuth entirely will break SSO and third-party integrations, requiring alternative authentication methods.

Affected VersionsENISA

Mattermost 11.5.0 ≤11.5.1
Mattermost 10.11.0 ≤10.11.13

Affected Packages

go github.com/mattermost/mattermost-server fix: 5.3.2-0.20260318173148-e9ae890a013b, 10.11.14+incompatible, 11.5.2+incompatible
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-20260318173148-e9ae890a013b, 10.11.14, 11.5.2
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

This vulnerability stems from improper client identity binding (CWE-305) in Mattermost's OAuth 2.0 implementation. During the authorization code flow, OAuth servers must verify that the client redeeming an authorization code is the same client to which the code was originally issued. Mattermost's token exchange endpoint failed to enforce this binding check, violating RFC 6749 security requirements. Affected product identified via CPE as Mattermost server versions 10.11.0-10.11.13 and 11.5.0-11.5.1. The flaw exists in the OAuth authorization code redemption logic, where client_id validation is insufficient or absent during the token exchange POST request, allowing cross-client code redemption attacks.

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

NVD PRIMARY 3.8 LOW
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

1
CVSS changed
Oct 14, 2026 - 20:23 NVD
3.1 (LOW) 3.8 (LOW)

DescriptionNVD

Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fail to enforce client identity binding during the OAuth authorization code redemption flow which allows an authenticated OAuth client to redeem authorization codes issued to a different client via a crafted token exchange request.. Mattermost Advisory ID: MMSA-2026-00570

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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