cve.bz

CVE-2025-12421 mattermost mattermost server

9.9 criticalEPSS 0.4%Fix available

Critical (9.9) in mattermost mattermost server. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/mattermost/mattermost/server/v8 8.0.0-20251022210333-acda1fb5dd46.

On this page
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).

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-12-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-303 Incorrect Implementation of Authentication Algorithm
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-12421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-12421?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-12421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-12421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mattermostfrom 11.0.0 through 11.0.2
Mattermostfrom 10.12.0 through 10.12.1
Mattermostfrom 10.11.0 through 10.11.4
Mattermostfrom 10.5.0 through 10.5.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mp6x-97xj-9x62Gogithub.com/mattermost/mattermost/server/v8<8.0.0-20251022210333-acda1fb5dd468.0.0-20251022210333-acda1fb5dd46
GHSA-mp6x-97xj-9x62Gogithub.com/mattermost/mattermost-server>=11.0.0 <11.0.311.0.3
GHSA-mp6x-97xj-9x62Gogithub.com/mattermost/mattermost-server>=10.12.0 <10.12.210.12.2
GHSA-mp6x-97xj-9x62Gogithub.com/mattermost/mattermost-server>=10.11.0 <10.11.510.11.5
GHSA-mp6x-97xj-9x62Gogithub.com/mattermost/mattermost-server>=10.5.0 <10.5.1310.5.13
GO-2025-4170Gogithub.com/mattermost/mattermost-serverall versionsno fix published
GO-2025-4170Gogithub.com/mattermost/mattermost-server/v5all versionsno fix published
GO-2025-4170Gogithub.com/mattermost/mattermost-server/v6all versionsno fix published
GO-2025-4170Gogithub.com/mattermost/mattermost/server/v8<8.0.0-20251022210333-acda1fb5dd468.0.0-20251022210333-acda1fb5dd46

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSELeap 15.6govulncheck-vulndb0.0.20251230T014957-150000.1.134.1SUSE-SU-2026:0037-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Attack patterns (CAPEC)

  • CAPEC-90 Reflection Attack in Authentication Protocol Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON