Incorrect Implementation of Authentication Algorithm Affecting github.com/mattermost/mattermost/server/channels/app package, versions <9.11.10-rc1>=10.4.0-rc1 <10.4.4>=10.5.0-rc1 <10.5.2>=10.6.0-rc1 <10.6.0-rc2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th 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-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPP-9802154
  • published24 Apr 2025
  • disclosed22 Apr 2025
  • crediteAhmed

Introduced: 22 Apr 2025

NewCVE-2025-2475  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/app to version 9.11.10-rc1, 10.4.4, 10.5.2, 10.6.0-rc2 or higher.

Overview

github.com/mattermost/mattermost/server/channels/app is a private-cloud Slack alternative

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to persisting authentication data in a cache when performing ConvertUserToBot(). A user whose account has been converted to a bot can bypass the intended authentication once after the conversion, by reusing the credentials from before this operation.

References

CVSS Base Scores

version 4.0
version 3.1