{"id":"CVE-2026-19076","aliases":["CVE-2026-19076"],"related":[],"kind":"vulnerability","state":"published","title":"Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"}],"published":"2026-10-16T07:11:29.552Z","modified":"2026-10-27T20:57:34.380Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"11.10.0","lastAffected":"11.10.0","status":"affected"},{"type":"semver","introduced":"11.7.0","lastAffected":"11.7.9","status":"affected"},{"type":"semver","introduced":"11.9.0","lastAffected":"11.9.1","status":"affected"},{"type":"semver","introduced":"11.8.0","lastAffected":"11.8.5","status":"affected"},{"version":"11.11.0","status":"unaffected"},{"version":"11.10.1","status":"unaffected"},{"version":"11.7.10","status":"unaffected"},{"version":"11.9.2","status":"unaffected"},{"version":"11.8.6","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"11.7.0","fixed":"11.7.10"},{"status":"affected","introduced":"11.8.0","fixed":"11.8.6"},{"status":"affected","introduced":"11.9.0","fixed":"11.9.2"},{"status":"affected","version":"11.10.0"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["CERT PL"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T14:06:08.450Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-19076","url":"https://www.cve.org/CVERecord?id=CVE-2026-19076","licence":"CVE Terms of Use","modified":"2026-10-16T14:06:23.946Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-19076","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19076","licence":"Public domain","modified":"2026-10-27T20:57:34.380Z"}],"updatedAt":"2026-11-25T22:59:45.039Z","epss":{"score":0.00199,"percentile":0.10195,"date":"2026-12-01T12:00:22.000Z"}}