CVE-2025-12419CWE-303

CVE-2025-12419

Critical · published November 27, 2025

CVSS v3.1
9.9
EPSS
0%
Percentile
26.8
In the wild
Unconfirmed
What it is

🚨 An authenticated attacker can hijack user accounts with just a crafty manipulation of OAuth tokens! 🔥 Think of it like a VIP pass system at a concert where a mischievous attendee convinces security that they are someone else entirely — without proper checks, they waltz backstage and take over someone else's experience! An attacker with team creation privileges could effectively impersonate another user, accessing their messages and sensitive data, and even taking full control of accounts! The consequences could be absolutely devastating, leading to unauthorized actions and the potential compromise of multiple accounts.

Put simply

Think of it like a VIP pass system at a concert where a mischievous attendee convinces security that they are someone else entirely — without proper checks, they waltz backstage and take over someone else's experience! This vulnerability stems from insufficient validation of OAuth state tokens during OpenID Connect authentication, allowing an attacker to leverage an SSO system to take ownership of user accounts under specific conditions.

What to do

An attacker with team creation privileges could effectively impersonate another user, accessing their messages and sensitive data, and even taking full control of accounts! The consequences could be absolutely devastating, leading to unauthorized actions and the potential compromise of multiple accounts. To secure your system, patch to the latest versions (10.12.2, 10.11.5, 10.5.13, 11.0.4) immediately. Also, ensure that email verification is enabled and review your OAuth settings to limit the risk of account takeovers. You've got this! With these steps, you can fortify your Mattermost setup and be a true security hero! 🦸‍♂️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00345 · 26.8th percentile
Weakness
CWE-303 · Incorrect Implementation of Authentication Algorithm
Published
2025-11-27T21:15Z
Affected products (4)
ProductVersionsFixed in
mattermost/mattermost_server≥ 10.5.0, < 10.5.1310.5.13
mattermost/mattermost_server≥ 10.11.0, < 10.11.510.11.5
mattermost/mattermost_server≥ 10.12.0, < 10.12.210.12.2
mattermost/mattermost_server≥ 11.0.0, < 11.0.411.0.4
References (1)
EPSS history
Timeline
  • 27 NOV 15:55Z
    Account takeover on OAuth/OpenID-enabled servers
    cvelistv5