Skip to main content

Mattermost CVE-2026-9571

| EUVDEUVD-2026-43305 MEDIUM
Authentication Bypass by Primary Weakness (CWE-305)
2026-07-13 Mattermost GHSA-4v7j-4mvr-5975
6.5
CVSS 3.1 · NVD
Share

Severity by source

Vendor (Mattermost) PRIMARY
MEDIUM
qualitative
NVD
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
6.8 MEDIUM

AV:N for network-accessible OAuth endpoint; AC:H for token-retention precondition; PR:L because the attacker was a regular user, not an administrator.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Mattermost).

CVSS VectorNVD

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

Lifecycle Timeline

2
CVSS changed
Jul 13, 2026 - 21:52 NVD
5.9 (MEDIUM) 6.5 (MEDIUM)
Analysis Generated
Jul 13, 2026 - 09:01 vuln.today

DescriptionNVD

Mattermost versions 11.7.x <= 11.7.2, 11.6.x <= 11.6.4, 10.11.x <= 10.11.19 fail to invalidate OAuth refresh tokens upon user account deactivation, which allows a deactivated user or an attacker in possession of a valid refresh token to obtain new functional access tokens via the OAuth refresh token grant endpoint.. Mattermost Advisory ID: MMSA-2026-00680

AnalysisAI

Mattermost fails to invalidate OAuth refresh tokens when a user account is deactivated, enabling former users - or any attacker who possesses a valid refresh token - to continue minting functional access tokens against the OAuth refresh token grant endpoint indefinitely after access revocation should have taken effect. All three actively maintained release branches are affected (10.11.x, 11.6.x, 11.7.x), making this a cross-branch session-persistence flaw with high confidentiality and integrity impact on any workspace relying on OAuth-integrated access control. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV, though the attack path requires minimal skill for any party already holding a refresh token.

Technical ContextAI

Mattermost is an open-source team messaging and collaboration platform (CPE: cpe:2.3:a:mattermost:mattermost). Its OAuth 2.0 implementation issues refresh tokens - long-lived credentials designed to regenerate short-lived access tokens - to authenticated clients. CWE-305 (Authentication Bypass by Primary Weakness) describes the root cause: the primary authentication control (account deactivation) fails to cascade into revocation of derived credentials (refresh tokens). In a correct implementation, deactivating a user account should atomically invalidate all associated sessions, access tokens, and refresh tokens stored server-side. Mattermost instead leaves refresh tokens valid, meaning the OAuth /oauth/token endpoint with grant_type=refresh_token continues to issue new bearer tokens for deactivated accounts. This is a classic session-persistence flaw where token lifecycle management is decoupled from identity lifecycle management.

RemediationAI

Patch available per vendor advisory at https://mattermost.com/security-updates (MMSA-2026-00680). Administrators should upgrade beyond the affected version ceiling in their respective branch - 10.11.19, 11.6.4, or 11.7.2 - to a patched release as soon as available. Exact fix versions are not independently confirmed from the provided data; consult the Mattermost security updates page directly to identify the specific patched build for your branch. As an immediate compensating control, administrators can manually audit and revoke active OAuth application authorizations for deactivated users through the Mattermost System Console (System Console > Integrations > OAuth 2.0 Applications), or delete and recreate the affected user accounts (deletion, unlike deactivation, may purge token state - verify behavior in your version). Disabling OAuth 2.0 entirely for external integrations eliminates the attack surface but will break any OAuth-dependent integrations; evaluate this trade-off based on organizational OAuth usage before applying.

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-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-2024-39777 CRITICAL
9.6 Aug 01

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

CVE-2020-26290 CRITICAL
9.6 Dec 28

Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2022-1002 MEDIUM POC
5.4 Mar 18

Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh

CVE-2023-2193 CRITICAL
9.1 Apr 20

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse

CVE-2026-7387 HIGH
8.8 Jun 12

Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr

Share

CVE-2026-9571 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy