Missing Authentication for Critical Function Affecting github.com/mattermost/mattermost/server/channels/api4 package, versions <9.11.10-rc1>=10.5.0 <10.5.2


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.02% (6th 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 Learn

Learn about Missing Authentication for Critical Function vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPI4-9749615
  • published18 Apr 2025
  • disclosed16 Apr 2025
  • credit0x7oda7123

Introduced: 16 Apr 2025

NewCVE-2025-27538  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/api4 to version 9.11.10-rc1, 10.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authentication for Critical Function over the PUT /api/v4/users/user-id/mfa endpoint. This allows a user with edit_other_users permission to activate or deactivate multi-factor authentication for other users.

References

CVSS Base Scores

version 4.0
version 3.1