{"id":"CVE-2026-27656","aliases":["CVE-2026-27656","GHSA-fg35-5rf6-qg3g","GO-2026-5360"],"related":[],"kind":"vulnerability","state":"published","title":"Account Takeover via Substring Matching in OpenID Connect Authentication","summary":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to properly validate user identity in the OpenID {{IsSameUser()}} comparison logic, which allows an attacker to take over arbitrary user accounts via an overly permissive substring matching flaw in the user discovery flow.. Mattermost Advisory ID: MMSA-2026-00590","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to properly validate user identity in the OpenID {{IsSameUser()}} comparison logic, which allows an attacker to take over arbitrary user accounts via an overly permissive substring matching flaw in the user discovery flow.. Mattermost Advisory ID: MMSA-2026-00590","source":"cvelist"},{"lang":"en","text":"Mattermost versions 11.4.x <= 11.4.0, 11.3.x <= 11.3.1, 11.2.x <= 11.2.3, 10.11.x <= 10.11.11 fail to properly validate user identity in the OpenID {{IsSameUser()}} comparison logic, which allows an attacker to take over arbitrary user accounts via an overly permissive substring matching flaw in the user discovery flow. Mattermost Advisory ID: MMSA-2026-00590","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost allows attackers to take over arbitrary user accounts via overly permissive substring matching flaw in github.com/mattermost/mattermost-server","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 11.4.x &lt;= 11.4.0, 11.3.x &lt;= 11.3.1, 11.2.x &lt;= 11.2.3, 10.11.x &lt;= 10.11.11 no validan correctamente la identidad del usuario en la lógica de comparación OpenID {{IsSameUser()}}, lo que permite a un atacante tomar el control de cuentas de usuario arbitrarias a través de un fallo de coincidencia de subcadenas excesivamente permisivo en el flujo de descubrimiento de usuarios. ID de aviso de Mattermost: MMSA-2026-00590","source":"nvd"}],"published":"2026-03-25T16:28:29.739Z","modified":"2026-06-25T19:56:08.822Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-303"],"affected":[{"ranges":[{"type":"semver","introduced":"11.4.0","lastAffected":"11.4.0","status":"affected"},{"type":"semver","introduced":"11.3.0","lastAffected":"11.3.1","status":"affected"},{"type":"semver","introduced":"11.2.0","lastAffected":"11.2.3","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.11","status":"affected"},{"version":"11.5.0","status":"unaffected"},{"version":"11.4.1","status":"unaffected"},{"version":"11.3.2","status":"unaffected"},{"version":"11.2.4","status":"unaffected"},{"version":"10.11.12","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.4.0-rc1","status":"affected","fixed":"11.4.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.3.0-rc1","status":"affected","fixed":"11.3.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.2.0-rc1","status":"affected","fixed":"11.2.4"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0-rc1","status":"affected","fixed":"10.11.12"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0-20260105080200-d27a2195068d","status":"affected","fixed":"8.0.0-20260217110922-b7d4a1f1f59b"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0-rc1+incompatible","status":"affected","fixed":"10.11.12+incompatible"},{"type":"semver","introduced":"11.2.0-rc1+incompatible","status":"affected","fixed":"11.2.4+incompatible"},{"type":"semver","introduced":"11.3.0-rc1+incompatible","status":"affected","fixed":"11.3.2+incompatible"},{"type":"semver","introduced":"11.4.0-rc1+incompatible","status":"affected","fixed":"11.4.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"8.0.0-20260105080200-d27a2195068d","status":"affected","fixed":"8.0.0-20260217110922-b7d4a1f1f59b"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"10.11.0","fixed":"10.11.12"},{"status":"affected","introduced":"11.2.0","fixed":"11.2.4"},{"status":"affected","introduced":"11.3.0","fixed":"11.3.2"},{"status":"affected","introduced":"11.4.0","fixed":"11.4.1"}],"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","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27656","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fg35-5rf6-qg3g","tags":["advisory"],"sources":["go"]}],"credits":["Christopher Poile"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-26T03:55:33.452Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27656","url":"https://www.cve.org/CVERecord?id=CVE-2026-27656","licence":"CVE Terms of Use","modified":"2026-03-26T13:19:52.338Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fg35-5rf6-qg3g","url":"https://github.com/advisories/GHSA-fg35-5rf6-qg3g","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:08.822Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5360","url":"https://pkg.go.dev/vuln/GO-2026-5360","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:34.725Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27656","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27656","licence":"Public domain","modified":"2026-06-17T10:27:28.430Z"}],"updatedAt":"2026-11-25T22:59:16.805Z","epss":{"score":0.00372,"percentile":0.23113,"date":"2026-11-30T12:00:22.000Z"}}