Mattermost fails to properly validate team membership when processing channel mentions

Description

Mattermost versions 11.1.x <= 11.1.2, 10.11.x <= 10.11.9, 11.2.x <= 11.2.1 fail to properly validate team membership when processing channel mentions which allows authenticated users to determine the existence of teams and their URL names via posting channel shortlinks and observing the channel_mentions property in the API response. Mattermost Advisory ID: MMSA-2025-00563

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2026-02-16 15:32:47 UTC
Updated
2026-02-19 19:35:25 UTC
GitHub reviewed
2026-02-19 19:35:24 UTC
NVD published
2026-02-16

EPSS Score

Score Percentile
0.03% 9.67%

CVSS Scores

Base score Version Severity Vector
4.3 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-862 Missing Authorization

Affected packages (5)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/mattermost/mattermost/server/v8 < 8.0.0-20251209134645-761e56bb11cc 8.0.0-20251209134645-761e56bb11cc
go github.com/mattermost/mattermost-server >= 11.1.0, < 11.1.3
go github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.10
go github.com/mattermost/mattermost-server >= 11.2.0, < 11.2.2
go github.com/mattermost/mattermost-server < 5.3.2-0.20251209134645-761e56bb11cc 5.3.2-0.20251209134645-761e56bb11cc

References

cvelogic Threat Intelligence