{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-12419","id":"CVE-2025-12419","title":"Account takeover on OAuth/OpenID-enabled servers","description":"Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (de","descriptionLong":"Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validate OAuth state tokens during OpenID Connect authentication which allows an authenticated attacker with team creation privileges to take over a user account via manipulation of authentication data during the OAuth completion flow. This requires email verification to be disabled (default: disabled), OAuth/OpenID Connect to be enabled, and the attacker to control two users in the SSO system with one of them never having logged into Mattermost.","published":"2025-11-27T15:55:44.815Z","updated":"2026-11-14T02:45:12.279358450Z","reserved":"2025-10-28T16:09:58.730Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"Mattermost"},"metrics":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"Mattermost"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"mattermost.com"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.12.1","status":"affected","version":"10.12.0","versionType":"semver"},{"lessThanOrEqual":"10.11.4","status":"affected","version":"10.11.0","versionType":"semver"},{"lessThanOrEqual":"10.5.12","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"11.0.3","status":"affected","version":"11.0.0","versionType":"semver"},{"version":"11.1.0","status":"unaffected"},{"version":"10.12.2","status":"unaffected"},{"version":"10.11.5","status":"unaffected"},{"version":"10.5.13","status":"unaffected"},{"version":"11.0.4","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20251028000919-d3ed703dc833"],"fixed":["8.0.0-20251028000919-d3ed703dc833"],"advisory":"GHSA-3x39-62h4-f8j6"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=10.12.0 <10.12.2",">=10.11.0 <10.11.5",">=10.5.0 <10.5.13",">=11.0.0 <11.0.4","all versions"],"fixed":["10.12.2","10.11.5","10.5.13","11.0.4"],"advisory":"GHSA-3x39-62h4-f8j6"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-4168"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-4168"}],"cwes":["CWE-303","CWE-287"],"aliases":["GHSA-3x39-62h4-f8j6","GO-2025-4168"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12419.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12419","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost/pull/34296","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/15364790cc277cfaa372693d2d5442b87f70fd42","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/364c2203de00fe0d8424b6b46d6f0eeb02a2539a","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/46b5c436bb3093cc1da3fa2455f93d4c52389eee","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/c3f4818afe46a7084740e809708ae22641c76d8d","tags":["web"]},{"url":"https://github.com/mattermost/mattermost/commit/d3ed703dc8330684952eb8d49a375bac6ea7b0c6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3x39-62h4-f8j6","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00367,"epssPercentile":0.31158,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-12419","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12419","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-12419","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3x39-62h4-f8j6","ok":true,"note":"GHSA-3x39-62h4-f8j6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-12419","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":["CVSS 9.9 in a widely used technology"],"attention":null}