Incorrect Authorization Affecting github.com/mattermost/mattermost/server/channels/api4/ package, versions >=9.0.0-rc1 <9.11.13>=10.5.0-rc1 <10.5.4>=10.6.0-rc1 <10.6.3>=10.7.0-rc1 <10.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th 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-10300817
  • published4 Jun 2025
  • disclosed3 Jun 2025
  • creditUnknown

Introduced: 3 Jun 2025

NewCVE-2025-3913  (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.13, 10.5.4, 10.6.3, 10.7.1 or higher.

Overview

github.com/mattermost/mattermost/server/channels/api4/ is a

Affected versions of this package are vulnerable to Incorrect Authorization. due to improper access controls in the team invite modification endpoint /api/v4/teams/:teamId/privacy. An attacker can escalate privileges by manipulating team invites if they have administrative access to a team.

CVSS Base Scores

version 4.0
version 3.1