VDB
KO
MEDIUM 6.7

GHSA-m2w9-h2mm-79qr

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

Quick fix

GHSA-m2w9-h2mm-79qr — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost-server@v11.6.1

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/mattermost/mattermost-server
Introduced in: 11.6.0 Fixed in: 11.6.1
Fix go get github.com/mattermost/mattermost-server@v11.6.1
Go / github.com/mattermost/mattermost-server
Introduced in: 11.5.0 Fixed in: 11.5.5
Fix go get github.com/mattermost/mattermost-server@v11.5.5
Go / github.com/mattermost/mattermost-server
Introduced in: 10.11.0 Fixed in: 10.11.17
Fix go get github.com/mattermost/mattermost-server@v10.11.17
Go / github.com/mattermost/mattermost/server/v8
Introduced in: 8.0.0-20250731163400-5b955468ea1e Fixed in: 8.0.0-20260501142004-99b73d4c4acf
Fix go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260501142004-99b73d4c4acf

References