Skip to main content

Mattermost EUVDEUVD-2026-102747

| CVE-2026-19076 MEDIUM
Incorrect Authorization (CWE-863)
2026-10-16 Mattermost GHSA-hhjm-mg95-jr6g
4.4
CVSS 3.1 · Vendor: Mattermost
View

Attack ChainAIDerived

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

  1. Access
    Obtain victim OAuth bearer token
  2. Delivery
    POST /api/v4/users/login/switch with crafted body
  3. Exploit
    Endpoint accepts OAuth app session
  4. Execution
    Set attacker password, detach IdP
  5. Impact
    Permanent SSO account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to already hold a valid OAuth bearer token for the specific target user AND the target account must be SSO/identity-provider-backed, since the attack abuses the account-type switch endpoint (POST /api/v4/users/login/switch) to convert SSO to password auth. The flaw is that OAuth application sessions are not rejected by this endpoint. Limiting factors: this is not reachable by a fully unauthenticated attacker (PR:H - a victim-scoped OAuth token is mandatory), attack complexity is high (AC:H), and only Mattermost versions in the listed vulnerable ranges with OAuth/SSO integration enabled are affected; deployments not using SSO-backed accounts or OAuth applications are not exposed.

Impact

This is a moderate-severity authorization flaw (CVSS 4.4, CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N; CWE-863 Incorrect Authorization) that reads as a genuine account-takeover primitive but with meaningful exploitation barriers. The network attack vector (AV:N) is offset by high attack complexity (AC:H) and high privilege requirement (PR:H): the attacker must already possess a valid OAuth bearer token scoped to the specific target user. The impact profile is integrity-only (I:H, C:N, A:N), which correctly reflects that the bug permits permanent takeover of the victim's SSO-backed account rather than data disclosure or disruption. No EPSS score, no SSVC decision, and no KEV listing were provided in the input, and no public exploit is identified, so there is no signal of active or widespread exploitation - this is a vendor-reported (Mattermost) issue, not one with demonstrated in-the-wild activity. The signals are internally consistent rather than conflicting: a network-exploitable but token-gated, high-complexity integrity bug. Verdict: this is a credible fix-on-schedule authorization defect, not an emergency; the realistic priority depends entirely on whether an attacker can plausibly obtain a victim's OAuth bearer token (e.g., via a compromised or malicious OAuth app), which the PR:H rating assumes. Treat it as an elevated-priority patch for SSO/OAuth-integrated Mattermost deployments, but it is not a mass-exploitation, high-real-risk scenario on current evidence.

Exploit ScenarioDerived

An attacker who has obtained a valid OAuth bearer token for a target user (for example through a compromised or malicious OAuth application granted access to that account) sends a crafted request to POST /api/v4/users/login/switch to change the account from SSO to email/password authentication. Because the endpoint fails to reject OAuth application sessions, the attacker sets an attacker-controlled password and detaches the account from its identity provider, achieving permanent takeover even after the original token is revoked. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 16, 2026

Account takeover in Mattermost 11.7.x through 11.10.0 lets an authenticated attacker who already holds a valid OAuth bearer token for a specific target user permanently hijack that user's SSO-backed account: the POST /api/v4/users/login/switch endpoint fails to reject OAuth application sessions, so the attacker can switch the account to password authentication, set an attacker-controlled password, and detach the account from its identity provider (CWE-863 Incorrect Authorization; CVSS 4.4, CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N). Exploitation is heavily constrained - the victim must have an identity-provider-backed account, the attacker must obtain a victim-scoped OAuth token (typically by getting the user to authorize a malicious OAuth application), attack complexity is assessed as high, and deployments without SSO or OAuth applications are not exposed. No public exploit identified at time of analysis, and there is no confirmed active exploitation (Mattermost advisory MMSA-2026-00758).

RemediationAI

No vendor-released patch version is specified in the available data, so consult the Mattermost advisory MMSA-2026-00758 on https://mattermost.com/security-updates to confirm the fixed release for each supported branch (11.7.x, 11.8.x, 11.9.x, 11.10.x) and upgrade to that build as the primary fix; because the vulnerable endpoint (POST /api/v4/users/login/switch) is server-side, upgrading the server is the only complete remediation. In the interim, harden the OAuth attack path that makes exploitation possible: audit all approved OAuth 2.0 applications in the System Console, revoke and rotate OAuth tokens and client secrets for any application that is not strictly required, and restrict the ability to create OAuth applications to trusted administrators - the trade-off is that legitimate integrations will need to be re-authorized and their tokens reissued. Restrict or monitor requests to /api/v4/users/login/switch at the reverse proxy or WAF for accounts known to be SSO-backed; blocking the endpoint outright stops the attack but breaks legitimate account-type switches, so prefer alerting and investigation unless the organization never uses that feature. Finally, alert on unexpected password creation events and on identity-provider detachments for SSO accounts, and re-attach affected accounts to the identity provider and force credential resets if suspicious activity is detected; these detections do not prevent the initial takeover, they only shorten its duration.

Affected VersionsENISA

Mattermost 11.8.0 ≤11.8.5
Mattermost 11.7.0 ≤11.7.9
Mattermost 11.9.0 ≤11.9.1
Mattermost 11.10.0 ≤11.10.0

Affected Packages

euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a broken authorization check (CWE-863) in Mattermost's account-type switching logic. Mattermost distinguishes between session types - ordinary user sessions and OAuth application sessions, where a bearer token is minted to a third-party OAuth 2.0 application acting on behalf of a consenting user. The endpoint POST /api/v4/users/login/switch is intended to convert an account between authentication methods, and it is supposed to reject sessions that belong to OAuth applications because such sessions should not be able to change an account's authentication type. In the affected branches (11.7.x, 11.8.x, 11.9.x, 11.10.x), that rejection is missing, so a valid OAuth bearer token for the target user is accepted and can be used to set a local password and unlink the account from the identity provider - converting an SSO-controlled account into an attacker-accessible password account. The CVSS vector (AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N) reflects high integrity impact with no confidentiality or availability loss, network reachability, high attack complexity (obtaining a victim-scoped OAuth token is non-trivial), and high privileges required (a valid token for the target user, not anonymous access). The associated CPE cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* identifies the Mattermost server product as the affected component.

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.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 4.4 MEDIUM

Requires a victim-scoped OAuth bearer token (PR:H) and specific SSO-backed conditions (AC:H); yields permanent account takeover (I:H) with no direct data read (C:N) or availability loss (A:N).

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

Primary rating from Vendor (Mattermost).

CVSS VectorVendor: Mattermost

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

DescriptionCVE.org

Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to reject OAuth application sessions in the account type switch endpoint, which allows an attacker with a valid OAuth bearer token for a target user to permanently take over that user's SSO-backed account by setting an attacker-controlled password and detaching the account from its identity provider via a crafted request to POST /api/v4/users/login/switch.. Mattermost Advisory ID: MMSA-2026-00758

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely used self-hosted team collaboration platform, common in enterprise/dev orgs
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 No
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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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