Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister malicious OAuth client
-
DeliverySocial engineer user authorization flow
-
ExploitIntercept authorization code from logs/network
-
InstallCraft token exchange with stolen code
-
C2Redeem code using attacker's client_id
-
ExecuteObtain unauthorized access token
-
ImpactAccess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionNVD
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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-30743
GHSA-jp3f-x449-4q75
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB