{"id":"CVE-2026-19076","state":"PUBLISHED","title":"Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token","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","publishedAt":"2026-10-16T07:11:29.552Z","updatedAt":"2026-10-16T14:06:23.946Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","source":"Mattermost"},"assigner":"Mattermost","products":["Mattermost Mattermost"],"affected":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"11.10.0","status":"affected","lessThanOrEqual":"11.10.0","versionType":"semver"},{"version":"11.7.0","status":"affected","lessThanOrEqual":"11.7.9","versionType":"semver"},{"version":"11.9.0","status":"affected","lessThanOrEqual":"11.9.1","versionType":"semver"},{"version":"11.8.0","status":"affected","lessThanOrEqual":"11.8.5","versionType":"semver"},{"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"}]}],"references":["https://mattermost.com/security-updates"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19076.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19076","state":"PUBLISHED","datePublished":"2026-10-16T07:11:29.552Z","dateUpdated":"2026-10-16T14:06:23.946Z","assignerShortName":"Mattermost","assignerOrgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateReserved":"2026-08-06T09:52:03.711Z"},"containers":{"cna":{"title":"Mattermost fails to reject OAuth application sessions in account type switch, allowing account takeover via bearer token","descriptions":[{"lang":"en","value":"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":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"version":"11.10.0","status":"affected","lessThanOrEqual":"11.10.0","versionType":"semver"},{"version":"11.7.0","status":"affected","lessThanOrEqual":"11.7.9","versionType":"semver"},{"version":"11.9.0","status":"affected","lessThanOrEqual":"11.9.1","versionType":"semver"},{"version":"11.8.0","status":"affected","lessThanOrEqual":"11.8.5","versionType":"semver"},{"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"}]}],"references":[{"url":"https://mattermost.com/security-updates","name":"MMSA-2026-00758","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N","baseSeverity":"MEDIUM","baseScore":4.4},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","type":"CWE","description":"CWE-863: Incorrect Authorization"}]}],"providerMetadata":{"shortName":"Mattermost","orgId":"9302f53e-dde5-4bf3-b2f2-a83f91ac0eee","dateUpdated":"2026-10-16T07:11:29.552Z"},"credits":[{"lang":"en","type":"finder","value":"CERT PL"}],"solutions":[{"value":"Update Mattermost to versions 11.11.0, 11.10.1, 11.7.10, 11.9.2, 11.8.6 or higher.","lang":"en"}],"source":{"advisory":"MMSA-2026-00758","defect":["https://mattermost.atlassian.net/browse/MM-70115"],"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T14:06:08.450522Z","id":"CVE-2026-19076","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T14:06:23.946Z"}}]}}}