Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-12421
November 27, 2025
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).
Affected Packages
github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v11.0.1-rc1 <v11.0.3
Fix Suggestion:
Update to version v11.0.3
github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.5.0 <v10.5.13
Fix Suggestion:
Update to version v10.5.13
github.com/mattermost/mattermost (GO):
Affected version(s) >=v11.0.1-rc1 <v11.0.3
Fix Suggestion:
Update to version v11.0.3
github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.12.0 <v10.12.2
Fix Suggestion:
Update to version v10.12.2
github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.12.0 <v10.12.2
Fix Suggestion:
Update to version v10.12.2
github.com/mattermost/mattermost/server/v8 (GO):
Affected version(s) >=v8.0.0-20230429093631-aac4f2337933 <v8.0.0-20251022210333-acda1fb5dd46
Fix Suggestion:
Update to version v8.0.0-20251022210333-acda1fb5dd46
github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.11.0 <v10.11.5
Fix Suggestion:
Update to version v10.11.5
github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.11.0 <v10.11.5
Fix Suggestion:
Update to version v10.11.5
github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.5.0 <v10.5.13
Fix Suggestion:
Update to version v10.5.13
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Incorrect Implementation of Authentication Algorithm
Improper Authentication
EPSS
Base Score:
0.10