Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates with valid Mattermost credentials
-
DeliveryEstablishes persistent WebSocket connection to Mattermost server
-
ExploitAdministrator triggers global session revocation
-
ExecutionServer invalidates database session but WebSocket cache remains active
-
PersistAttacker's client continues receiving real-time channel events
-
ImpactSensitive messages and platform data exfiltrated until connection drops
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires a pre-existing, authenticated WebSocket connection to the Mattermost server that was established before the global session revocation event occurs. The CVSS vector confirms PR:L - a low-privileged, authenticated account is required; unauthenticated exploitation is not possible. The bypass is only effective during the window between revocation and either natural cache expiry or client reconnection, at which point the client is forced to re-authenticate and will be denied. Information access is bounded by the revoked user's original channel membership and permission scope - no privilege escalation or access to resources the user could not previously see is possible. No non-default server configuration or special deployment mode is required; any standard Mattermost deployment using WebSocket-capable clients (desktop application, web browser, mobile app) is susceptible to this condition. |
| Impact | The vendor-assigned CVSS score of 4.3 (Medium, vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) accurately reflects the constrained impact: exploitation requires a pre-existing low-privileged authenticated session (PR:L), the scope is unchanged, and impact is limited to partial confidentiality with no integrity or availability consequence. No KEV listing and no publicly available exploit code are confirmed, and no EPSS data was provided in the available intelligence - these signals collectively indicate the vulnerability has not attracted significant exploitation interest at time of analysis. The practical risk is highest in targeted, high-stakes scenarios: specifically, incident response or employee offboarding situations where session revocation is used as a security control and a revoked user (or an attacker who has taken over their credentials) deliberately maintains an active WebSocket connection. The SSVC assessment is: exploitation requires prior authentication and an active connection (not automatable at scale), technical impact is partial and scoped to the revoked user's existing permissions, and no exploitation is confirmed. This is a meaningful architectural gap that reduces the reliability of a specific administrative control, but it does not represent opportunistic mass-exploitation risk. |
| Exploit ScenarioDerived | A terminated employee or an attacker who has compromised a user account keeps their Mattermost desktop or browser client open and connected via WebSocket. An administrator triggers global session revocation as part of the incident response or offboarding process. Despite the revocation, the attacker's client continues receiving real-time channel messages, user activity updates, and other platform events - scoped to the compromised account's original permissions - until the WebSocket connection is naturally dropped or the server is restarted. No public exploit code exists; exploitation is manual and requires deliberate connection maintenance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
WebSocket session persistence in Mattermost allows authenticated users whose sessions have been globally revoked to bypass that revocation and continue receiving real-time platform events. Affected across four actively maintained release branches (11.7.x, 11.6.x, 11.5.x, 10.11.x), the flaw directly undermines the effectiveness of administrative session revocation - a control relied upon in account-compromise response and offboarding workflows. No public exploit code exists and no active exploitation has been confirmed (not in CISA KEV); the EPSS signal is absent from available data, and the vendor-assigned CVSS of 4.3 reflects correctly scoped, medium-severity risk.
RemediationAI
Upgrade to the patched Mattermost release for the applicable branch per vendor advisory MMSA-2026-00664, available at https://mattermost.com/security-updates. Exact fixed version numbers for each branch (11.7.x, 11.6.x, 11.5.x, 10.11.x) are not independently confirmed from the available input data and must be verified against the advisory before upgrading. As a compensating control pending patching, administrators can restart the Mattermost server process, which forcibly terminates all active WebSocket connections and requires all clients to re-establish connections and re-authenticate - clients holding revoked sessions will then be denied; note this causes a brief service interruption for all users. For targeted incidents involving a specific user, revoking their session and immediately disabling their account reduces the exposure window, since a disabled account cannot re-authenticate if the connection drops. Network-layer controls (firewall or reverse proxy rules) to block a specific user's IP are a fragile workaround and not recommended as a primary mitigation given dynamic and shared IP environments.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 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
Mattermost is a self-hosted and cloud-deployed team collaboration platform that uses persistent WebSocket connections to push real-time messaging events - new messages, user presence, channel updates - to connected clients. The vulnerable component is the server-side session validation layer governing those long-lived WebSocket connections. When a global session revocation is triggered (e.g., via an admin 'Revoke All Sessions' action), the server correctly invalidates the backing database session records but does not flush or re-evaluate the in-memory cached authentication state for WebSocket connections that were already established before the revocation event. CWE-613 (Insufficient Session Expiration) is the precise root cause class: the system fails to enforce session termination across all active transport channels simultaneously. The CPE cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* spans all Mattermost application editions. The vulnerability is architectural - it reflects a gap between the database-layer session lifecycle and the WebSocket connection lifecycle.
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:L/I:N/A:N
Requires authenticated low-privileged session (PR:L); impact is confidentiality-only via continued event stream receipt; no integrity or availability consequence applies.
Primary rating from Vendor (Mattermost).
CVSS VectorVendor: Mattermost
DescriptionCVE.org
Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to invalidate cached authentication state for active WebSocket connections during global session revocation, which allows a user with an existing WebSocket connection to remain authenticated and continue receiving real-time events until the cached session expires or the client reconnects.. Mattermost Advisory ID: MMSA-2026-00664
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
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
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
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-38247
GHSA-h998-hxxj-8q83
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB