CVE-2025-12419
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
Summary
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/mattermost/mattermost-server@v11.0.4
go get github.com/mattermost/mattermost-server@v10.12.2
go get github.com/mattermost/mattermost-server@v10.11.5
go get github.com/mattermost/mattermost-server@v10.5.13
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20251028000919-d3ed703dc833
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/mattermost/mattermost-server | go | All versions | 11.0.4 |
| github.com/mattermost/mattermost-server | go | All versions | 10.12.2 |
| github.com/mattermost/mattermost-server | go | All versions | 10.11.5 |
| github.com/mattermost/mattermost-server | go | All versions | 10.5.13 |
| github.com/mattermost/mattermost/server/v8 | go | All versions | 8.0.0-20251028000919-d3ed703dc833 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-287Improper AuthenticationMITRE
- CWE-303
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-12419ADVISORY
- https://github.com/mattermost/mattermost/pull/34296WEB
- https://github.com/mattermost/mattermost/commit/15364790cc277cfaa372693d2d5442b87f70fd42WEB
- https://github.com/mattermost/mattermost/commit/364c2203de00fe0d8424b6b46d6f0eeb02a2539aWEB
- https://github.com/mattermost/mattermost/commit/46b5c436bb3093cc1da3fa2455f93d4c52389eeeWEB
- https://github.com/mattermost/mattermost/commit/c3f4818afe46a7084740e809708ae22641c76d8dWEB
- https://github.com/mattermost/mattermost/commit/d3ed703dc8330684952eb8d49a375bac6ea7b0c6WEB
- https://github.com/advisories/GHSA-3x39-62h4-f8j6ADVISORY
- https://github.com/mattermost/mattermostPACKAGE
- https://mattermost.com/security-updatesWEB
Frequently Asked Questions
- What is CVE-2025-12419?
- Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2025-12419?
- CVE-2025-12419 affects github.com/mattermost/mattermost-server and github.com/mattermost/mattermost/server/v8. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-12419 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2017-18900CRITICAL
Mattermost Server is vulnerable CSV Injection
- CVE-2025-12421CRITICAL
Mattermost fails to to verify the token used during code exchange
- CVE-2025-4981CRITICAL
Mattermost allows authenticated users to write files to arbitrary locations
- CVE-2025-58073HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-6346HIGH
Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-5740HIGH
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies