CVE-2025-12421
Last modified
CVE-2025-12421 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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).. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost Server | >= 10.5.0, < 10.5.13 |
| Mattermost | Mattermost Server | >= 10.11.0, < 10.11.5 |
| Mattermost | Mattermost Server | >= 10.12.0, < 10.12.2 |
| Mattermost | Mattermost Server | >= 11.0.0, < 11.0.3 |
References
- https://mattermost.com/security-updatesVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-12421?
How severe is CVE-2025-12421?
How do I fix CVE-2025-12421?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12416The Pagerank Tools plugin for WordPress is vulnerable to Sto…6.1
- CVE-2025-12417The SurveyFunnel – Survey Plugin for WordPress plugin for Wo…6.4
- CVE-2025-12418Potential Denial of Service issue in all supported versions …5.6
- CVE-2025-12419Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, …9.9
- CVE-2025-1242The administrative credentials can be extracted through appl…9.3
- CVE-2025-12420A vulnerability has been identified in the ServiceNow AI Pla…9.8
- CVE-2025-12422Vulnerable Upgrade Feature (Arbitrary File Write) may lead t…9.8
- CVE-2025-12423Protocol manipulation might lead to denial of service.This i…7.5
- CVE-2025-12424Privilege Escalation through SUID-bit Binary.This issue affe…9.8
- CVE-2025-12425Local Privilege Escalation.This issue affects BLU-IC2: throu…7.8
- CVE-2025-12426The Quiz Maker plugin for WordPress is vulnerable to Sensiti…7.5
- CVE-2025-12427The YITH WooCommerce Wishlist plugin for WordPress is vulner…5.3
Are you affected by CVE-2025-12421?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
