patchminder
No public exploit found CVE-2025-12421

Vulnerabilityin Mattermost.

Published 27 Nov 2025 · Updated 26 Feb 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that the token used during the code exchange originates from the same authentication flow, which allows an authenticated user to perform account takeover via a specially crafted email address used when switching authentication methods and sending a request to the /users/login/sso/code-exchange endpoint. The vulnerability requires ExperimentalEnableAuthenticationTransfer to be enabled (default: enabled) and RequireEmailVerification to be disabled (default: disabled).

What to do now
  • Upgrade github.com/mattermost/mattermost/server/v8 (Go) to 8.0.0-20251022210333-acda1fb5dd46 or later.
  • Upgrade github.com/mattermost/mattermost-server (Go) to 10.5.13, 10.11.5, 10.12.2, 11.0.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Mattermost
11.0.0 to 11.0.2
Not confirmed
CVE record
Mattermost
10.12.0 to 10.12.1
Not confirmed
CVE record
Mattermost
10.11.0 to 10.11.4
Not confirmed
CVE record
Mattermost
10.5.0 to 10.5.12
Not confirmed
CVE record
github.com/mattermost/mattermost/server/v8 (Go)
before 8.0.0-20251022210333-acda1fb5dd46
8.0.0-20251022210333-acda1fb5dd46
GitHub advisory
github.com/mattermost/mattermost-server (Go)
11.0.0 to before 11.0.3
11.0.3
GitHub advisory
github.com/mattermost/mattermost-server (Go)
10.12.0 to before 10.12.2
10.12.2
GitHub advisory
github.com/mattermost/mattermost-server (Go)
10.11.0 to before 10.11.5
10.11.5
GitHub advisory
github.com/mattermost/mattermost-server (Go)
10.5.0 to before 10.5.13
10.5.13
GitHub advisory
github.com/mattermost/mattermost-server (Go)
all versions
Not confirmed
GitHub advisory
github.com/mattermost/mattermost-server/v5 (Go)
all versions
Not confirmed
GitHub advisory
github.com/mattermost/mattermost-server/v6 (Go)
all versions
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 Oct 2025
    CVE ID reserved by Mattermost.
  2. 27 Nov 2025
    Published in the CVE List.
  3. 26 Feb 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Mattermost vulnerabilities

Same weakness:

All CWE-303 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-12421: Vulnerability in Mattermost. https://patchminder.com/cve/cve-2025-12421/ (accessed 5 December 2026).