CVE-2025-12419
November 27, 2025
Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.
Affected Packages
github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.11.0 <v10.11.5Fix Suggestion:
Update to version v10.11.5github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.12.0 <v10.12.2Fix Suggestion:
Update to version v10.12.2github.com/mattermost/mattermost (GO):
Affected version(s) >=v11.0.1-rc1 <v11.0.4Fix Suggestion:
Update to version v11.0.4github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.5.0 <v10.5.13Fix Suggestion:
Update to version v10.5.13github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.5.0 <v10.5.13Fix Suggestion:
Update to version v10.5.13github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v10.11.0 <v10.11.5Fix Suggestion:
Update to version v10.11.5github.com/mattermost/mattermost/server/v8 (GO):
Affected version(s) >=v8.0.0-20230429093631-aac4f2337933 <v8.0.0-20251028000919-d3ed703dc833Fix Suggestion:
Update to version v8.0.0-20251028000919-d3ed703dc833github.com/mattermost/mattermost (GO):
Affected version(s) >=v10.12.0 <v10.12.2Fix Suggestion:
Update to version v10.12.2github.com/mattermost/mattermost-server (GO):
Affected version(s) >=v11.0.1-rc1 <v11.0.4Fix Suggestion:
Update to version v11.0.4Related ResourcesĀ (10)
Do you need more information?
Contact UsCVSS 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)
EPSS
Base Score:
0.10