---
title: "CVE-2025-12419: Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication"
url: https://erroneo.us/security/cve/CVE-2025-12419/
description: "CVE-2025-12419 (github.com/mattermost/mattermost/server/v8 (Go)): Mattermost versions 10.12.x"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-11-27
date_modified: 2026-02-26
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-12419"
kev: false
cvss: 9.9
epss: 0.00345
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-12419: Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.3% , percentile 27: FIRST’s model estimates a 0.3% chance of exploitation activity in the next 30 days, higher than 27% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/mattermost/mattermost/server/v8 (Go) < 8.0.0-20251028000919-d3ed703dc833, fixed in 8.0.0-20251028000919-d3ed703dc833 ; github.com/mattermost/mattermost-server (Go) >= 10.12.0, < 10.12.2, fixed in 10.12.2 ; github.com/mattermost/mattermost-server (Go) >= 10.11.0, < 10.11.5, fixed in 10.11.5 ; github.com/mattermost/mattermost-server (Go) >= 10.5.0, < 10.5.13, fixed in 10.5.13 . Check your lockfile, including transitive dependencies.

## What it is

Mattermost versions 10.12.x

## Affected packages

- Go `github.com/mattermost/mattermost/server/v8` < 8.0.0-20251028000919-d3ed703dc833 → fixed: 8.0.0-20251028000919-d3ed703dc833
- Go `github.com/mattermost/mattermost-server` >= 10.12.0, < 10.12.2 → fixed: 10.12.2
- Go `github.com/mattermost/mattermost-server` >= 10.11.0, < 10.11.5 → fixed: 10.11.5
- Go `github.com/mattermost/mattermost-server` >= 10.5.0, < 10.5.13 → fixed: 10.5.13
- Go `github.com/mattermost/mattermost-server` >= 11.0.0, < 11.0.4 → fixed: 11.0.4

## Affected products (CVE record)

- Mattermost Mattermost: 10.12.0 <= 10.12.1, 10.11.0 <= 10.11.4, 10.5.0 <= 10.5.12, 11.0.0 <= 11.0.3

## Severity

- Mattermost CVSS 3.1: 9.9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.34% probability of exploitation activity in the next 30 days; percentile 27.

## Sources

- [GitHub Advisory GHSA-3x39-62h4-f8j6](https://github.com/advisories/GHSA-3x39-62h4-f8j6)
- [CVE.org record CVE-2025-12419](https://www.cve.org/CVERecord?id=CVE-2025-12419)
- [NVD entry CVE-2025-12419](https://nvd.nist.gov/vuln/detail/CVE-2025-12419)
- [mattermost.com](https://mattermost.com/security-updates)
- [github.com](https://github.com/mattermost/mattermost/pull/34296)
- [github.com](https://github.com/mattermost/mattermost/commit/15364790cc277cfaa372693d2d5442b87f70fd42)
- [github.com](https://github.com/mattermost/mattermost/commit/364c2203de00fe0d8424b6b46d6f0eeb02a2539a)
- [github.com](https://github.com/mattermost/mattermost/commit/46b5c436bb3093cc1da3fa2455f93d4c52389eee)
- [github.com](https://github.com/mattermost/mattermost/commit/c3f4818afe46a7084740e809708ae22641c76d8d)
- [github.com](https://github.com/mattermost/mattermost/commit/d3ed703dc8330684952eb8d49a375bac6ea7b0c6)

---
Source page: https://erroneo.us/security/cve/CVE-2025-12419/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
