NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-27656: Mattermost allows attackers to take over arbitrary user accounts via overly permissive substring matching flaw

mediumCVSS 3.1 5.7GHSA-fg35-5rf6-qg3g

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

Published Mar 25, 2026 · Updated Mar 31, 2026

Affected packages

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.4.0-rc1, < 11.4.1
Fixed in
11.4.1
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.3.0-rc1, < 11.3.2
Fixed in
11.3.2
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 11.2.0-rc1, < 11.2.4
Fixed in
11.2.4
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.11.0-rc1, < 10.11.2
Fixed in
10.11.12
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost/server/v8

Ecosystem
Go
Affected
>= 8.0.0-20260105080200-d27a2195068d, < 8.0.0-20260217110922-b7d4a1f1f59b
Fixed in
8.0.0-20260217110922-b7d4a1f1f59b
Check
go list -m github.com/mattermost/mattermost/server/v8

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries