Incorrect Authorization Affecting github.com/mattermost/mattermost/server/channels/api4 package, versions >=9.11.0 <9.11.12>=10.4.0 <10.4.5>=10.5.0 <10.5.3>=10.6.0 <10.6.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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-10231816
  • published23 May 2025
  • disclosed15 May 2025
  • credit0x7oda7123

Introduced: 15 May 2025

CVE-2025-3446  (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.12, 10.4.5, 10.5.3, 10.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to improper validation of team invite permissions. An attacker can bypass access restrictions by exploiting the API to add unauthorized guest users to a team.

Note:

This is only exploitable if the attacker is authenticated and has permission to invite non-guest users.

CVSS Base Scores

version 4.0
version 3.1