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

- Severity: Medium 4.4 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-16T07:11:29.552Z
- Modified: 2026-10-27T20:57:34.380Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 11.10.0 up to 11.10.0; from 11.7.0 up to 11.7.9; from 11.9.0 up to 11.9.1; from 11.8.0 up to 11.8.5 (not affected: 11.11.0; 11.10.1; 11.7.10; 11.9.2; 11.8.6)
- mattermost mattermost_server: from 11.7.0 before 11.7.10; from 11.8.0 before 11.8.6; from 11.9.0 before 11.9.2; 11.10.0

## Every score

- Mattermost: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-19076](https://www.cve.org/CVERecord?id=CVE-2026-19076), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-19076](https://nvd.nist.gov/vuln/detail/CVE-2026-19076), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-19076 · Whole record: https://cve.day/CVE-2026-19076.json · Rebuilt by cve.day 2026-11-25T22:59:45.039Z
