CVE-2026-19076: Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token
CVE-2026-19076 affects 18 listed versions of Mattermost in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Mattermost
18 of 250 listed versions are affected. Fixed in 11.10.1, 11.9.2, 11.8.6, 11.7.10. The newest release, 12.1.0, is not affected.
11.10.0 11.9.1 11.9.0 11.8.5 11.8.4 11.8.3 11.8.2 11.8.1 11.8.0 11.7.9 11.7.8 11.7.7 11.7.6 11.7.5 11.7.4 11.7.3 11.7.2 11.7.1
What it is
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
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N (NVD)
Published by Mattermost on 16 October 2026. Last changed 27 October 2026.
Sources
Check one version you run: look CVE-2026-19076 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.