Advisory

GHSA-r5vf-grcx-5vqp

Also known as: CVE-2026-28735, GO-2026-5839

Summary

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-26 13:30 UTC
Modified
2026-07-07 16:11 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.6.0, fixed 11.6.1 (semver)

Fixed versions

11.6.1

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.5.0, fixed 11.5.4 (semver)

Fixed versions

11.5.4

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 11.4.0, fixed 11.4.5 (semver)

Fixed versions

11.4.5

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0, fixed 10.11.15 (semver)

Fixed versions

10.11.15

Fix

github.com/mattermost/mattermost-plugin-github

Go · All systems

Affected

  • introduced 0, fixed 1.0.1-0.20260318132218-6e6b740c4852 (semver)

Fixed versions

1.0.1-0.20260318132218-6e6b740c4852

Fix

  • Fixed version 1.0.1-0.20260318132218-6e6b740c4852
    go get github.com/mattermost/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences