ADVISORIES

GitHub Advisory Database

GHSA-r5vf-grcx-5vqp

Mattermost allows authenticated users to gain access to private repositories

Details

Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the OAuth token scope on the callback which allows an authenticated Mattermost user to gain access to private repositories via modifying the scope parameter in the GitHub authorization URL. Mattermost Advisory ID: MMSA-2026-00628

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 11.6.0 before 11.6.1 (fixed in 11.6.1)
Gogithub.com/mattermost/mattermost-server
From 11.5.0 before 11.5.4 (fixed in 11.5.4)
Gogithub.com/mattermost/mattermost-server
From 11.4.0 before 11.4.5 (fixed in 11.4.5)
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.15 (fixed in 10.11.15)
Gogithub.com/mattermost/mattermost-plugin-github
All versions before 1.0.1-0.20260318132218-6e6b740c4852 (fixed in 1.0.1-0.20260318132218-6e6b740c4852)

References