CVE-2025-12419

Critical

Description

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.

SeverityCritical
CVSS9.9
Exploit probability31. percentile0.4%
ProductMattermost Server
PublishedNov 27, 2025
First seenNov 27, 2025
Weakness typeCWE-303CWE-303

How to fix

Update
  • mattermost mattermost_server10.5.13, 10.11.5, 10.12.2, 11.0.4 or later
  • github.com/mattermost/mattermost/server/v88.0.0-20251028000919-d3ed703dc833 or later
  • github.com/mattermost/mattermost-server10.12.2, 10.11.5, 10.5.13, 11.0.4 or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server10.5.0 ≤ v < 10.5.13, 10.11.0 ≤ v < 10.11.5, 10.12.0 ≤ v < 10.12.2, 11.0.0 ≤ v < 11.0.410.5.13, 10.11.5, 10.12.2, 11.0.4
github.com/mattermost/mattermost/server/v8Gov < 8.0.0-20251028000919-d3ed703dc8338.0.0-20251028000919-d3ed703dc833
github.com/mattermost/mattermost-serverGo10.12.0 ≤ v < 10.12.2, 10.11.0 ≤ v < 10.11.5, 10.5.0 ≤ v < 10.5.13, 11.0.0 ≤ v < 11.0.4, No range specified10.12.2, 10.11.5, 10.5.13, 11.0.4
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.