Read the docs
TI-2025-11397 Aliases CVE-2025-12421GHSA-mp6x-97xj-9x62

Account Takeover via Code Exchange Endpoint

Priority MEDIUM 43CWE-303Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.

Summary

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).

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00446 38th percentileScored 2026-11-07
Fix Fixed Mattermost (Mattermost): 11.1.0, 11.0.3, 10.12.2 +2github.com/mattermost/mattermost/server/v8 (Go): 8.0.0-20251022210333-acda1fb5dd46+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MattermostMattermost11.0.0 – 11.0.2; 10.12.0 – 10.12.1; 10.11.0 – 10.11.4; 10.5.0 – 10.5.1211.1.0, 11.0.3, 10.12.2, 10.11.5, 10.5.13Patch availableCNA
—github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20251022210333-acda1fb5dd468.0.0-20251022210333-acda1fb5dd46Patch availableGHSA-mp6x-97xj-9x62
—github.com/mattermost/mattermost-server (Go)11.0.0 to before 11.0.311.0.3Patch availableGHSA-mp6x-97xj-9x62
—github.com/mattermost/mattermost-server (Go)10.12.0 to before 10.12.210.12.2Patch availableGHSA-mp6x-97xj-9x62
—github.com/mattermost/mattermost-server (Go)10.11.0 to before 10.11.510.11.5Patch availableGHSA-mp6x-97xj-9x62
—github.com/mattermost/mattermost-server (Go)10.5.0 to before 10.5.1310.5.13Patch availableGHSA-mp6x-97xj-9x62
  • Mattermost VendorMattermost Affected 11.0.0 – 11.0.2; 10.12.0 – 10.12.1; 10.11.0 – 10.11.4; 10.5.0 – 10.5.12 Fixed in 11.1.0, 11.0.3, 10.12.2, 10.11.5, 10.5.13 Patch available CNA
  • github.com/mattermost/mattermost/server/v8 (Go) Vendor— Affected before 8.0.0-20251022210333-acda1fb5dd46 Fixed in 8.0.0-20251022210333-acda1fb5dd46 Patch available GHSA-mp6x-97xj-9x62
  • github.com/mattermost/mattermost-server (Go) Vendor— Affected 11.0.0 to before 11.0.3 Fixed in 11.0.3 Patch available GHSA-mp6x-97xj-9x62
  • github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.12.0 to before 10.12.2 Fixed in 10.12.2 Patch available GHSA-mp6x-97xj-9x62
  • github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.11.0 to before 10.11.5 Fixed in 10.11.5 Patch available GHSA-mp6x-97xj-9x62
  • github.com/mattermost/mattermost-server (Go) Vendor— Affected 10.5.0 to before 10.5.13 Fixed in 10.5.13 Patch available GHSA-mp6x-97xj-9x62

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*10.5.0 to before 10.5.13; 10.11.0 to before 10.11.5; 10.12.0 to before 10.12.2; 11.0.0 to before 11.0.3VulnerableMattermost
  • cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions 10.5.0 to before 10.5.13; 10.11.0 to before 10.11.5; 10.12.0 to before 10.12.2; 11.0.0 to before 11.0.3 Vulnerable ·Mattermost

Remediation

  • Fix · CNA Mattermost (Mattermost) Fixed in 11.1.0, 11.0.3, 10.12.2, 10.11.5, 10.5.13
  • Fix · GHSA-mp6x-97xj-9x62 github.com/mattermost/mattermost/server/v8 (Go) Fixed in 8.0.0-20251022210333-acda1fb5dd46 Advisory →
  • Fix · GHSA-mp6x-97xj-9x62 github.com/mattermost/mattermost-server (Go) Fixed in 11.0.3 Advisory →
  • Fix · GHSA-mp6x-97xj-9x62 github.com/mattermost/mattermost-server (Go) Fixed in 10.12.2 Advisory →
  • Fix · GHSA-mp6x-97xj-9x62 github.com/mattermost/mattermost-server (Go) Fixed in 10.11.5 Advisory →
  • Fix · GHSA-mp6x-97xj-9x62 github.com/mattermost/mattermost-server (Go) Fixed in 10.5.13 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-12421
  2. 2026-10-03 Alias added: GHSA-mp6x-97xj-9x62

References

  • TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
  • TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
  • TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
  • TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
  • TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
  • TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
See all 505 →

Sources