Mattermost up to 10.5.12/10.11.4/10.12.1/11.0.2 Email code-exchange incorrect implementation of authentication algorithm
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Mattermost up to 10.5.12/10.11.4/10.12.1/11.0.2. The affected element is an unknown function of the file /users/login/sso/code-exchange of the component Email Handler. The manipulation leads to incorrect implementation of authentication algorithm. This vulnerability is listed as CVE-2025-12421. The attack may be initiated remotely. There is no available exploit. You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Mattermost up to 10.5.12/10.11.4/10.12.1/11.0.2. This issue affects some unknown functionality of the file /users/login/sso/code-exchange of the component Email Handler. The manipulation with an unknown input leads to a incorrect implementation of authentication algorithm vulnerability. Using CWE to declare the problem leads to CWE-303. The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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).
The weakness was presented by daw10. The advisory is shared at mattermost.com. The identification of this vulnerability is CVE-2025-12421 since 10/28/2025. The exploitation is known to be easy. The attack may be initiated remotely. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 278109 (Mattermost Server 10.5.x <= 10.5.12 / 10.11.x <= 10.11.4 / 10.12.x <= 10.12.1 / 11.0.x <= 11.0.2 Multiple Vulnerabilities (CVE-2025-12421, MMSA-2025-00526, CVE-2025-12756)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 10.5.13, 10.11.5, 10.12.2, 11.0.3 or 11.1.0 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (278109), EUVD (EUVD-2025-199833) and CERT Bund (WID-SEC-2025-2434). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Mattermost Mattermost
Product
Type
Name
Version
- 10.5.0
- 10.5.1
- 10.5.2
- 10.5.3
- 10.5.4
- 10.5.5
- 10.5.6
- 10.5.7
- 10.5.8
- 10.5.9
- 10.5.10
- 10.5.11
- 10.5.12
- 10.11.0
- 10.11.1
- 10.11.2
- 10.11.3
- 10.11.4
- 10.12.0
- 10.12.1
- 11.0.0
- 11.0.1
- 11.0.2
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.1VulDB Meta Temp Score: 7.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.9
CNA Vector (Mattermost): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Incorrect implementation of authentication algorithmCWE: CWE-303
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 278109
Nessus Name: Mattermost Server 10.5.x <= 10.5.12 / 10.11.x <= 10.11.4 / 10.12.x <= 10.12.1 / 11.0.x <= 11.0.2 Multiple Vulnerabilities (CVE-2025-12421, MMSA-2025-00526, CVE-2025-12756)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Mattermost 10.5.13/10.11.5/10.12.2/11.0.3/11.1.0
Timeline
10/28/2025 CVE reserved11/27/2025 Advisory disclosed
11/27/2025 VulDB entry created
12/11/2025 VulDB entry last update
Sources
Advisory: mattermost.comResearcher: daw10
Status: Confirmed
CVE: CVE-2025-12421 (🔒)
GCVE (CVE): GCVE-0-2025-12421
GCVE (VulDB): GCVE-100-333713
EUVD: 🔒
CERT Bund: WID-SEC-2025-2434 - Mattermost Server: Mehrere Schwachstellen ermöglichen die Umgehung von Sicherheitsmaßnahmen
Entry
Created: 11/27/2025 20:20Updated: 12/11/2025 01:49
Changes: 11/27/2025 20:20 (65), 11/27/2025 22:13 (1), 11/28/2025 16:00 (7), 12/11/2025 01:49 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.