
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27656 is an authentication bypass vulnerability in Mattermost Server caused by an incorrect implementation of the OpenID IsSameUser() comparison logic (Mattermost Advisory ID: MMSA-2026-00590). The flaw allows an attacker to take over arbitrary user accounts via an overly permissive substring matching flaw in the user discovery flow. Affected versions include 11.4.x ≤ 11.4.0, 11.3.x ≤ 11.3.1, 11.2.x ≤ 11.2.3, and 10.11.x ≤ 10.11.11. It carries a CVSS v3.1 base score of 6.1 (Medium/High) per NVD, and 5.7 per ENISA (Mattermost Security, Red Hat CVE, ENISA EUVD).
The root cause is classified as CWE-303 (Incorrect Implementation of Authentication Algorithm). Specifically, the IsSameUser() function used during OpenID-based user discovery performs substring matching rather than exact identity comparison, allowing an attacker-controlled identity to match against a legitimate user's identifier. Exploitation requires the attacker to have high privileges and requires user interaction (e.g., a victim completing an OpenID authentication flow), after which the attacker can hijack the matched user's account. No public proof-of-concept code has been identified (Mattermost Security, ENISA EUVD).
Successful exploitation allows a high-privileged attacker to take over arbitrary Mattermost user accounts, resulting in high confidentiality and integrity impact — including unauthorized access to private messages, channels, and sensitive organizational data, as well as impersonation of legitimate users. Availability is not directly impacted. The account takeover could enable lateral movement within the Mattermost environment, potentially exposing additional users or integrated systems (Mattermost Security, ENISA EUVD).
IsSameUser() comparison logic against existing user accounts.IsSameUser() to incorrectly return a positive match.sub (subject) claim is a partial string of a known user's identifier.Mattermost has released patched versions addressing this vulnerability. Organizations should upgrade to one of the following minimum safe versions: 10.11.12, 11.2.4, 11.3.2, or 11.4.1. For organizations unable to patch immediately, Mattermost recommends implementing strict access controls and monitoring of OpenID authentication events, restricting OpenID authentication to trusted identity providers only, and monitoring for suspicious account takeover attempts (Mattermost Security, ENISA EUVD).
The vulnerability was noted on Bluesky via automated CVE tracking accounts shortly after disclosure. Red Hat published a CVE advisory page tracking the issue. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability database entries (Red Hat CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."