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

Advisory record · `GHSA-m2w9-h2mm-79qr`

- **Identifiers:** `GHSA-m2w9-h2mm-79qr` · `CVE-2026-6739` · `GO-2026-6285`
- **State:** Confirmed
- **Severity:** CVSS 6.7 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 12 Jun 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Jun 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/mattermost/mattermost-server` (Go): affected `>=11.6.0, <11.6.1 || >=11.5.0, <11.5.5 || >=10.11.0, <10.11.17`; fixed in `11.6.1`, `11.5.5`, `10.11.17`
- `github.com/mattermost/mattermost/server/v8` (Go): affected `>=8.0.0-20250731163400-5b955468ea1e, <8.0.0-20260501142004-99b73d4c4acf`; fixed in `8.0.0-20260501142004-99b73d4c4acf`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.7 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`, from CNA (Mattermost)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:13 UTC: First seen by agentprime
- 31 Oct 2026, 14:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m2w9-h2mm-79qr)

## Sources

- [GitHub Advisory Database: GHSA-m2w9-h2mm-79qr](https://github.com/advisories/GHSA-m2w9-h2mm-79qr)
- [OSV: GHSA-m2w9-h2mm-79qr](https://osv.dev/vulnerability/GHSA-m2w9-h2mm-79qr)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6739>
- <https://github.com/mattermost/mattermost/pull/36197>
- <https://github.com/mattermost/mattermost/pull/36377>
- <https://github.com/mattermost/mattermost/pull/36379>
- <https://github.com/mattermost/mattermost/pull/36380>
- <https://github.com/mattermost/mattermost/pull/36382>
- <https://github.com/mattermost/mattermost/commit/2c89c2f6768fbe4dfd57a21ca38c0aecead8d4a8>
- <https://github.com/mattermost/mattermost/commit/5e159647b16e571b327ac6882f32eae42971f540>
- <https://github.com/mattermost/mattermost/commit/8000e5933526f4fd66b92131db3a1b1f4520dbae>
- <https://github.com/mattermost/mattermost/commit/f0a390b96e4c730daedbaf5190684776730218c7>
- <https://github.com/mattermost/mattermost>
- <https://github.com/mattermost/mattermost/releases/tag/v10.11.16>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m2w9-h2mm-79qr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m2w9-h2mm-79qr/>. Everything for agents: <https://agentprime.io/llms.txt>.
