CVE-2025-12419

CVE-2025-12419 is a critical-severity vulnerability in Mattermost Mattermost Server with a CVSS 3.x base score of 9.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-303.

Key facts

Description

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 validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.

Frequently asked questions

What is CVE-2025-12419?
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 validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.
How severe is CVE-2025-12419?
CVE-2025-12419 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2025-12419 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (23rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-12419?
CVE-2025-12419 affects Mattermost Mattermost Server. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-12419?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2025-12419 have an EU (EUVD) identifier?
Yes. CVE-2025-12419 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-199827.
When was CVE-2025-12419 published?
CVE-2025-12419 was published on 2025-11-27 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Mattermost Mattermost Server

All CVEs affecting Mattermost Mattermost Server →

Other CWE-303 vulnerabilities

Browse all CWE-303 vulnerabilities →