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
- https://nvd.nist.gov/vuln/detail/CVE-2026-6739 [ADVISORY]
- https://github.com/mattermost/mattermost/pull/36197 [WEB]
- https://github.com/mattermost/mattermost/pull/36377 [WEB]
- https://github.com/mattermost/mattermost/pull/36379 [WEB]
- https://github.com/mattermost/mattermost/pull/36380 [WEB]
- https://github.com/mattermost/mattermost/pull/36382 [WEB]
- https://github.com/mattermost/mattermost/commit/2c89c2f6768fbe4dfd57a21ca38c0aecead8d4a8 [WEB]
- https://github.com/mattermost/mattermost/commit/5e159647b16e571b327ac6882f32eae42971f540 [WEB]
- https://github.com/mattermost/mattermost/commit/8000e5933526f4fd66b92131db3a1b1f4520dbae [WEB]
- https://github.com/mattermost/mattermost/commit/f0a390b96e4c730daedbaf5190684776730218c7 [WEB]
- https://github.com/mattermost/mattermost [PACKAGE]
- https://github.com/mattermost/mattermost/releases/tag/v10.11.16 [WEB]
- https://github.com/mattermost/mattermost/releases/tag/v11.5.5 [WEB]
- https://github.com/mattermost/mattermost/releases/tag/v11.6.2 [WEB]
- https://github.com/mattermost/mattermost/releases/tag/v11.7.0 [WEB]
- https://mattermost.com/security-updates [WEB]