CVE-2025-12421

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).
References
Link Resource
https://mattermost.com/security-updates Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*

History

03 Dec 2025, 15:10

Type Values Removed Values Added
First Time Mattermost
Mattermost mattermost Server
CPE cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*
References () https://mattermost.com/security-updates - () https://mattermost.com/security-updates - Vendor Advisory

27 Nov 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-27 18:15

Updated : 2025-12-03 15:10


NVD link : CVE-2025-12421

Mitre link : CVE-2025-12421

CVE.ORG link : CVE-2025-12421


JSON object : View

Products Affected

mattermost

  • mattermost_server
CWE
CWE-303

Incorrect Implementation of Authentication Algorithm