Incorrect Authorization Affecting github.com/mattermost/mattermost/server/channels/testlib package, versions <9.11.9>=10.0.0-rc1 <10.5.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.03% (8th 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-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSTESTLIB-9689881
  • published13 Apr 2025
  • disclosed10 Apr 2025
  • creditBasilJawan

Introduced: 10 Apr 2025

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

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/testlib to version 9.11.9, 10.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization through the /api/v4/audits endpoint. An attacker can retrieve User Activity Logs by exploiting insufficient access controls, despite not having the required permissions for Compliance Monitoring.

CVSS Base Scores

version 4.0
version 3.1