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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Lifecycle Timeline
1DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Mattermost
View allDenial 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
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 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invit
Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh
Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse
Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr
Same weakness CWE-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38247
GHSA-h998-hxxj-8q83