Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2026-27656

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

March 25, 2026 (updated March 31, 2026)

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

  • github.com/advisories/GHSA-fg35-5rf6-qg3g
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2026-27656

Code Behaviors & Features

Detect and mitigate CVE-2026-27656 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 10.11.0-rc1 before 10.11.12, all versions starting from 11.2.0-rc1 before 11.2.4, all versions starting from 11.3.0-rc1 before 11.3.2, all versions starting from 11.4.0-rc1 before 11.4.1

Fixed versions

  • 11.4.1
  • 11.3.2
  • 11.2.4
  • 10.11.12

Solution

Upgrade to versions 10.11.12, 11.2.4, 11.3.2, 11.4.1 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-303: Incorrect Implementation of Authentication Algorithm

Source file

go/github.com/mattermost/mattermost-server/CVE-2026-27656.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:00 +0000.