{"id":"CVE-2026-6739","published":"2026-06-12T15:49:14Z","modified":"2026-06-13T03:56:06Z","title":"Mattermost: Delegated admins could patch protected default system roles","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.17696,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":3.54},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.6.0, <= 11.6.1",">= 11.5.0, <= 11.5.4",">= 10.11.0, <= 10.11.15",">= 10.11.0, <= 10.11.16"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.7.0","11.6.2","11.5.5","10.11.16","10.11.17"]}],"solutions":{"items":["Update Mattermost to versions 11.7.0, 11.6.2, 11.5.5, 10.11.16, 10.11.17 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-12T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=11.6.0, <11.6.1",">=11.5.0, <11.5.5",">=10.11.0, <10.11.17",">=10.11.0+incompatible, <10.11.17+incompatible",">=11.5.0+incompatible, <11.5.5+incompatible",">=11.6.0+incompatible, <11.6.1+incompatible"],"patched":["11.6.1","11.5.5","10.11.17","10.11.17+incompatible","11.5.5+incompatible","11.6.1+incompatible"],"from":["GHSA-m2w9-h2mm-79qr","GO-2026-6285"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=8.0.0-20250731163400-5b955468ea1e, <8.0.0-20260501142004-99b73d4c4acf"],"patched":["8.0.0-20260501142004-99b73d4c4acf"],"from":["GHSA-m2w9-h2mm-79qr","GO-2026-6285"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6285"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6285"],"provenance":"source"}],"summary":{"text":"Mattermost (product Mattermost) fails to require system-level permission when patching protected default system roles, so the flaw sits in the role-patching logic of the server's role management. An authenticated user holding delegated user-management permissions can exploit it over the network by calling the role patch API to alter the permissions of built-in roles, escalating their privileges without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:15Z"},"euvd":{"id":"EUVD-2026-36499","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2023-5969","parents":[{"from":"CVE-2024-22091","to":"CVE-2026-6739","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/api4/role.go"],"commits":["https://github.com/mattermost/mattermost/commit/13049d8b16b195f98246dff4812b5f64c1e5a627","https://github.com/mattermost/mattermost/commit/49e7c477246e31c7a0bd85c1043599121755b260","https://github.com/mattermost/mattermost/commit/2c89c2f6768fbe4dfd57a21ca38c0aecead8d4a8","https://github.com/mattermost/mattermost/commit/5e159647b16e571b327ac6882f32eae42971f540"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-6961","published":"2026-06-12","fixed":"8.0.0-20260423180926-c021eeaff8f0","kev":false},{"cve":"CVE-2026-7184","published":"2026-06-12","fixed":"8.0.0-20260428142921-bd8fc9222672","kev":false},{"cve":"CVE-2026-6046","published":"2026-06-12","fixed":"8.0.0-20260428151657-c79c3831061a","kev":false,"link":{"from":"CVE-2026-6046","to":"CVE-2026-6739","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260428151657-c79c3831061a","toFixed":"8.0.0-20260501142004-99b73d4c4acf","daysApart":0}]}},{"cve":"CVE-2026-6739","published":"2026-06-12","fixed":"8.0.0-20260501142004-99b73d4c4acf","kev":false},{"cve":"CVE-2026-6689","published":"2026-06-12","fixed":"8.0.0-20260501144115-7d6816abdfd1","kev":false,"link":{"from":"CVE-2026-6739","to":"CVE-2026-6689","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260501142004-99b73d4c4acf","toFixed":"8.0.0-20260501144115-7d6816abdfd1","daysApart":0}]}},{"cve":"CVE-2026-3433","published":"2026-06-12","fixed":"8.0.0-20260504071740-9408b98025d7","kev":false},{"cve":"CVE-2026-7387","published":"2026-06-12","fixed":"8.0.0-20260506065351-202d125afa87","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}