CVE-2025-6226
MEDIUM6.5EPSS 0.22%Mattermost Missing Authentication for Critical Function
Published: 7/18/2025Modified: 7/29/2025
Description
Mattermost versions 10.5.x <= 10.5.6, 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 9.11.x <= 9.11.16 fail to verify authorization when retrieving cached posts by PendingPostID which allows an authenticated user to read posts in private channels they don't have access to via guessing the PendingPostID of recently created posts.
Affected packages (6)
- Go/github.com/mattermost/mattermost-server>= 10.5.0, < 10.5.7
- Go/github.com/mattermost/mattermost-server>= 9.11.0+incompatible, < 9.11.17+incompatible, >= 10.5.0+incompatible, < 10.5.7+incompatible, >= 10.7.0+incompatible, < 10.7.4+incompatible, >= 10.8.0+incompatible, < 10.8.2+incompatible
- Go/github.com/mattermost/mattermost-server/v5from 0
- Go/github.com/mattermost/mattermost-server/v6from 0
- Go/github.com/mattermost/mattermost/server/v8from 0, < 8.0.0-20250520130510-fa40a8c5d47f
- Go/github.com/mattermost/mattermost/server/v8from 0, < 8.0.0-20250520130510-fa40a8c5d47f
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |