Vulnerability · Published Mar 25, 2026 · Assigned by Mattermost

CVE-2026-27656Account Takeover via Substring Matching in OpenID Connect Authentication

Medium 5.7

In plain English

A medium-severity security flaw in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)0.2%top 92.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server10.11.12GHSA-fg35-5rf6-qg3g
Gogithub.com/mattermost/mattermost-server11.4.1GHSA-fg35-5rf6-qg3g
Gogithub.com/mattermost/mattermost-server11.2.4GHSA-fg35-5rf6-qg3g
Gogithub.com/mattermost/mattermost-server11.3.2GHSA-fg35-5rf6-qg3g
Gogithub.com/mattermost/mattermost-server10.11.12+incompatible, 11.2.4+incompatible, 11.3.2+incompatible, 11.4.1+incompatibleGO-2026-5360
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2026-5360
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2026-5360
Gogithub.com/mattermost/mattermost/server/v88.0.0-20260217110922-b7d4a1f1f59bGO-2026-5360
Gogithub.com/mattermost/mattermost/server/v88.0.0-20260217110922-b7d4a1f1f59bGHSA-fg35-5rf6-qg3g

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 11.4.0 – through 11.4.011.3.0 – through 11.3.111.2.0 – through 11.2.310.11.0 – through 10.11.11

Weakness: CWE-303 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

References