Description
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
Problem types
CWE-303: Incorrect Implementation of Authentication Algorithm
Product status
11.4.0 (semver)
11.3.0 (semver)
11.2.0 (semver)
10.11.0 (semver)
11.5.0
11.4.1
11.3.2
11.2.4
10.11.12
Credits
Christopher Poile
References
mattermost.com/security-updates (MMSA-2026-00590)