Mattermost OpenID Connect OAuth State Token Validation Vulnerability Allowing Account Takeover

Vulnerability

A vulnerability exists in Mattermost versions 10.12.x through 10.12.1, 10.11.x through 10.11.4, 10.5.x through 10.5.12, and 11.0.x through 11.0.3. These versions fail to properly validate OAuth state tokens during OpenID Connect authentication. This flaw allows an authenticated attacker with team creation privileges to take over a user account by manipulating authentication data during the OAuth completion process. The attack requires email verification to be disabled (which is the default), and for the attacker to control two users in the SSO system, with one having never logged into Mattermost.

Impact

Exploitation of this vulnerability could lead to unauthorized account access and takeover.

Remediation

Users can upgrade to Mattermost versions 11.2.011.1.111.0.610.12.410.11.8, 11.1.010.11.510.5.13, or 11.1.010.11.5 to address this vulnerability.

Added: Nov 27, 2025, 4:20 PM
Updated: Nov 27, 2025, 6:19 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
1.3
exploitability
5.2
remediation
7.7
relevance
1.1
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.