4.4Medium

CVE-2026-19076Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token

Mattermost Mattermost Published: (1 month ago)

Description

Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to reject OAuth application sessions in the account type switch endpoint, which allows an attacker with a valid OAuth bearer token for a target user to permanently take over that user's SSO-backed account by setting an attacker-controlled password and detaching the account from its identity provider via a crafted request to POST /api/v4/users/login/switch.. Mattermost Advisory ID: MMSA-2026-00758

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Mattermost Mattermost 11.10.0 – ≤ 11.10.0, 11.7.0 – ≤ 11.7.9, 11.9.0 – ≤ 11.9.1, 11.8.0 – ≤ 11.8.5, fixed 11.11.0, fixed 11.10.1, fixed 11.7.10, fixed 11.9.2, fixed 11.8.6
mattermost mattermost server 11.7.0 – < 11.7.10

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* ≥ 11.7.0 < 11.7.10
  • cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* ≥ 11.8.0 < 11.8.6
  • cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* ≥ 11.9.0 < 11.9.2
  • cpe:2.3:a:mattermost:mattermost_server:11.10.0:*:*:*:*:*:*:*