NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-6226: Mattermost Missing Authentication for Critical Function

mediumCVSS 3.1 6.5GHSA-7h34-9chr-58qh

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.

Published Jul 18, 2025 · Updated Jul 21, 2025

Affected packages

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.5.0, < 10.5.7
Fixed in
10.5.7
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.8.0, < 10.8.2
Fixed in
10.8.2
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 10.7.0, < 10.7.4
Fixed in
10.7.4
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost-server

Ecosystem
Go
Affected
>= 9.11.0, < 9.11.17
Fixed in
9.11.17
Check
go list -m github.com/mattermost/mattermost-server

github.com/mattermost/mattermost/server/v8

Ecosystem
Go
Affected
< 8.0.0-20250520130510-fa40a8c5d47f
Fixed in
8.0.0-20250520130510-fa40a8c5d47f
Check
go list -m github.com/mattermost/mattermost/server/v8

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries