Live threats

All CVEs / Mattermost

CVE-2025-12419Mattermost Server

Critical 9.9

Priority
59
CVSS 3.1
9.9
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
Yes
Published
Nov 27, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-303
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 10.12.0 < 10.12.2 10.12.2 go get github.com/mattermost/mattermost-server@v10.12.2
Go github.com/mattermost/mattermost-server ≥ 10.11.0 < 10.11.5 10.11.5 go get github.com/mattermost/mattermost-server@v10.11.5
Go github.com/mattermost/mattermost-server ≥ 10.5.0 < 10.5.13 10.5.13 go get github.com/mattermost/mattermost-server@v10.5.13
Go github.com/mattermost/mattermost-server ≥ 11.0.0 < 11.0.4 11.0.4 go get github.com/mattermost/mattermost-server@v11.0.4
Go github.com/mattermost/mattermost-server all no fixed version —
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20251028000919-d3ed703dc833 8.0.0-20251028000919-d3ed703dc833 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20251028000919-d3ed703dc833
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20251028000919-d3ed703dc833 8.0.0-20251028000919-d3ed703dc833 go get github.com/mattermost/mattermost/server/v8@v8.0.0-20251028000919-d3ed703dc833

Per OSV / GitHub Advisories (GHSA-3x39-62h4-f8j6, GO-2025-4168). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 10.5.0 < 10.5.13
mattermostmattermost_server≥ 10.11.0 < 10.11.5
mattermostmattermost_server≥ 10.12.0 < 10.12.2
mattermostmattermost_server≥ 11.0.0 < 11.0.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.