Advisory

GHSA-m2w9-h2mm-79qr

Also known as: CVE-2026-6739, GO-2026-6285

Summary

Mattermost doesn't require system-level permission when patching protected default system roles

Details

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 fail to require system-level permission when patching protected default system roles, which allows authenticated users with delegated user-management permissions to escalate privileges by altering built-in role permissions via the role patch API. Mattermost Advisory ID: MMSA-2026-00656

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-12 18:31 UTC
Modified
2026-09-10 03:51 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.5 (semver)

Fixed versions

11.5.5

Fix

github.com/mattermost/mattermost-server

Go · All systems

Affected

  • introduced 10.11.0, fixed 10.11.17 (semver)

Fixed versions

10.11.17

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.0.0-20250731163400-5b955468ea1e, fixed 8.0.0-20260501142004-99b73d4c4acf (semver)

Fixed versions

8.0.0-20260501142004-99b73d4c4acf

Fix

  • Fixed version 8.0.0-20260501142004-99b73d4c4acf
    go get github.com/mattermost/mattermost/server/[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