Incorrect Implementation of Authentication Algorithm Affecting github.com/mattermost/mattermost-server package, versions >=10.11.0-rc1 <10.11.2>=11.2.0-rc1 <11.2.4>=11.3.0-rc1 <11.3.2>=11.4.0-rc1 <11.4.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVER-15855432
  • published31 Mar 2026
  • disclosed25 Mar 2026
  • creditChristopher Poile

Introduced: 25 Mar 2026

CVE-2026-27656  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost-server to version 10.11.2, 11.2.4, 11.3.2, 11.4.1 or higher.

Overview

github.com/mattermost/mattermost-server is an open source Slack-alternative in Golang and React.

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm in the IsSameUser function. An attacker can gain unauthorized access to arbitrary user accounts by exploiting overly permissive substring matching during user identity validation in the OpenID user discovery flow.

CVSS Base Scores

version 4.0
version 3.1