Incorrect Authorization Affecting github.com/mattermost/mattermost/server/channels/api4 package, versions >=9.11.0 <9.11.18>=10.5.0 <10.5.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPI4-12148281
  • published22 Aug 2025
  • disclosed21 Aug 2025
  • credithackit_bharat

Introduced: 21 Aug 2025

NewCVE-2025-53971  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/api4 to version 9.11.18, 10.5.9 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the PUT /api/v4/teams/team-id/members/user-id/schemeRoles endpoint. An attacker can modify team member roles without proper authorization by sending crafted API requests.

CVSS Base Scores

version 4.0
version 3.1