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

> CVE-2026-19076: Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token. CVSS 4.4 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-19076
Last updated: 2026-10-16T19:23:18Z

- Published: 2026-10-16 07:11 UTC · Updated: 2026-10-16 19:23 UTC · Assigner: Mattermost
- CVSS: 4.4 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.20%, 9th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-863

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

## Affected vendors and products

- Mattermost: Mattermost

## Tracked companies

- [Mattermost](https://rewindex.com/company/mattermost.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-19076)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-19076)
- [https://mattermost.com/security-updates](https://mattermost.com/security-updates)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-19076 · Markdown: https://rewindex.com/cve/CVE-2026-19076.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-19076 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:02.697Z
