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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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-8606415
  • published9 Jan 2025
  • disclosed9 Jan 2025
  • creditOmar Ahmed

Introduced: 9 Jan 2025

NewCVE-2025-22449  (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.6 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to improper enforcement of invite permissions in the allow_open_invite field. An attacker can add unauthorized users to a team by making the team public.

CVSS Scores

version 4.0
version 3.1