Skip to main content

Mattermost CVE-2026-9162

| EUVDEUVD-2026-38247 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-06-22 Mattermost GHSA-h998-hxxj-8q83
4.3
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

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

  1. Access
    Attacker authenticates with valid Mattermost credentials
  2. Delivery
    Establishes persistent WebSocket connection to Mattermost server
  3. Exploit
    Administrator triggers global session revocation
  4. Execution
    Server invalidates database session but WebSocket cache remains active
  5. Persist
    Attacker's client continues receiving real-time channel events
  6. Impact
    Sensitive 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

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

Mattermost 10.11.0 ≤10.11.17
Mattermost 11.6.0 ≤11.6.2
Mattermost 11.7.0 ≤11.7.0
Mattermost 11.5.0 ≤11.5.5

Affected Packages

go github.com/mattermost/mattermost-server fix: 10.11.18+incompatible, 10.11.18, 11.5.6+incompatible, 11.5.6, 11.6.3+incompatible, 11.6.3, 11.7.1+incompatible, 11.7.1
euvd mattermost no fix

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

Vendor (Mattermost) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Requires authenticated low-privileged session (PR:L); impact is confidentiality-only via continued event stream receipt; no integrity or availability consequence applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/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
Low
Integrity
None
Availability
None

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
Popular open-source team chat, sizable but niche adoption
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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