CVE-2025-12419
Account takeover on OAuth/OpenID-enabled servers
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.
INFO
Published Date :
Nov. 27, 2025, 4:15 p.m.
Last Modified :
Oct. 19, 2026, 1:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-12419
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 9302f53e-dde5-4bf3-b2f2-a83f91ac0eee | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | MITRE-CVE |
Solution
- Upgrade Mattermost to a fixed version.
- Validate OAuth state token handling.
- Review authentication configurations.
- Monitor for unauthorized access.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-12419.
| URL | Resource |
|---|---|
| https://mattermost.com/security-updates | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-12419 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-12419
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-12419 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-12419 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: Mattermost, Description: Las versiones de Mattermost 10.12.x menor o igual que 10.12.1, 10.11.x menor o igual que 10.11.4, 10.5.x menor o igual que 10.5.12, 11.0.x menor o igual que 11.0.3 no validan correctamente los tokens de estado de OAuth durante la autenticación de OpenID Connect, lo que permite a un atacante autenticado con privilegios de creación de equipos tomar el control de una cuenta de usuario mediante la manipulación de datos de autenticación durante el flujo de finalización de OAuth. Esto requiere que la verificación de correo electrónico esté deshabilitada (predeterminado: deshabilitado), que OAuth/OpenID Connect esté habilitado, y que el atacante controle dos usuarios en el sistema SSO, uno de los cuales nunca haya iniciado sesión en Mattermost. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Mattermost', 'product': 'Mattermost', 'versions': [{'status': 'affected', 'version': '10.12.0', 'versionType': 'semver', 'lessThanOrEqual': '10.12.1'}, {'status': 'affected', 'version': '10.11.0', 'versionType': 'semver', 'lessThanOrEqual': '10.11.4'}, {'status': 'affected', 'version': '10.5.0', 'versionType': 'semver', 'lessThanOrEqual': '10.5.12'}, {'status': 'affected', 'version': '11.0.0', 'versionType': 'semver', 'lessThanOrEqual': '11.0.3'}, {'status': 'unaffected', 'version': '11.1.0'}, {'status': 'unaffected', 'version': '10.12.2'}, {'status': 'unaffected', 'version': '10.11.5'}, {'status': 'unaffected', 'version': '10.5.13'}, {'status': 'unaffected', 'version': '11.0.4'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-12419', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2025-12-02T04:55:59.011337Z'} -
Initial Analysis by [email protected]
Dec. 03, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* versions from (including) 10.11.0 up to (excluding) 10.11.5 *cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* versions from (including) 10.12.0 up to (excluding) 10.12.2 *cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* versions from (including) 10.5.0 up to (excluding) 10.5.13 *cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* versions from (including) 11.0.0 up to (excluding) 11.0.4 Added Reference Type Mattermost, Inc.: https://mattermost.com/security-updates Types: Vendor Advisory -
CVE Modified by [email protected]
Nov. 27, 2025
Action Type Old Value New Value Changed 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 or admin privileges to take over any user account via manipulation of authentication data during the OAuth completion flow 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. -
New CVE Received by [email protected]
Nov. 27, 2025
Action Type Old Value New Value Added 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 or admin privileges to take over any user account via manipulation of authentication data during the OAuth completion flow Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-303 Added Reference https://mattermost.com/security-updates