ADVISORIES

GitHub Advisory Database

GHSA-7h34-9chr-58qh

Mattermost Missing Authentication for Critical Function

Details

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

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 10.5.0 before 10.5.7 (fixed in 10.5.7)
Gogithub.com/mattermost/mattermost-server
From 10.8.0 before 10.8.2 (fixed in 10.8.2)
Gogithub.com/mattermost/mattermost-server
From 10.7.0 before 10.7.4 (fixed in 10.7.4)
Gogithub.com/mattermost/mattermost-server
From 9.11.0 before 9.11.17 (fixed in 9.11.17)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20250520130510-fa40a8c5d47f (fixed in 8.0.0-20250520130510-fa40a8c5d47f)

References