CVE-2025-6226
Medium
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.
SeverityMedium
CVSS6.5
Exploit probability—
Product
Mattermost Server
PublishedJul 18, 2025
First seenJul 18, 2025
Weakness typeCWE-306Missing authentication for critical function
How to fix
Update
- mattermost mattermost_server9.11.17, 10.5.7, 10.7.4, 10.8.2 or later
- github.com/mattermost/mattermost-server10.5.7, 10.8.2, 10.7.4, 9.11.17, 9.11.17+incompatible, 10.5.7+incompatible, 10.7.4+incompatible, 10.8.2+incompatible or later
- github.com/mattermost/mattermost/server/v88.0.0-20250520130510-fa40a8c5d47f or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost_server | 9.11.0 ≤ v < 9.11.17, 10.5.0 ≤ v < 10.5.7, 10.7.0 ≤ v < 10.7.4, 10.8.0 ≤ v < 10.8.2 | 9.11.17, 10.5.7, 10.7.4, 10.8.2 |
| github.com/mattermost/mattermost-serverGo | 10.5.0 ≤ v < 10.5.7, 10.8.0 ≤ v < 10.8.2, 10.7.0 ≤ v < 10.7.4, 9.11.0 ≤ v < 9.11.17, 9.11.0+incompatible ≤ v < 9.11.17+incompatible, 10.5.0+incompatible ≤ v < 10.5.7+incompatible, 10.7.0+incompatible ≤ v < 10.7.4+incompatible, 10.8.0+incompatible ≤ v < 10.8.2+incompatible | 10.5.7, 10.8.2, 10.7.4, 9.11.17, 9.11.17+incompatible, 10.5.7+incompatible, 10.7.4+incompatible, 10.8.2+incompatible |
| github.com/mattermost/mattermost/server/v8Go | v < 8.0.0-20250520130510-fa40a8c5d47f | 8.0.0-20250520130510-fa40a8c5d47f |
| github.com/mattermost/mattermost-server/v5Go | No range specified | — |
| github.com/mattermost/mattermost-server/v6Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.