GitHub Advisoryadvisory · Go
GHSA-7h34-9chr-58qh Mattermost Missing Authentication for Critical Function
MEDIUM
Official page ↗
- Aliases
- CVE-2025-6226
- Ecosystem
- Go
- Packages
- github.com/mattermost/mattermost-server, github.com/mattermost/mattermost/server/v8
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-306
- Reviewed
- 2025-07-21
Affected packages
• Go github.com/mattermost/mattermost-server: >= 10.5.0, < 10.5.7 → fixed in 10.5.7
• Go github.com/mattermost/mattermost-server: >= 10.8.0, < 10.8.2 → fixed in 10.8.2
• Go github.com/mattermost/mattermost-server: >= 10.7.0, < 10.7.4 → fixed in 10.7.4
• Go github.com/mattermost/mattermost-server: >= 9.11.0, < 9.11.17 → fixed in 9.11.17
• Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20250520130510-fa40a8c5d47f → fixed in 8.0.0-20250520130510-fa40a8c5d47f
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.
Related
Alias · CVE (1)
- CVE-2025-6226 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… vulnerability
Weakness · CWE (1)
- CWE-306 Missing Authentication for Critical Functionality weakness