# Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation

Advisory record · `GHSA-c28q-m4gf-vg4q`

- **Identifiers:** `GHSA-c28q-m4gf-vg4q` · `CVE-2026-6689` · `GO-2026-6283`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.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-20260501144115-7d6816abdfd1`; fixed in `8.0.0-20260501144115-7d6816abdfd1`

## 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

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

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

## Timeline

- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-c28q-m4gf-vg4q)

## Sources

- [GitHub Advisory Database: GHSA-c28q-m4gf-vg4q](https://github.com/advisories/GHSA-c28q-m4gf-vg4q)
- [OSV: GHSA-c28q-m4gf-vg4q](https://osv.dev/vulnerability/GHSA-c28q-m4gf-vg4q)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6689>
- <https://github.com/mattermost/mattermost/pull/36402>
- <https://github.com/mattermost/mattermost/pull/36384>
- <https://github.com/mattermost/mattermost/pull/36383>
- <https://github.com/mattermost/mattermost/pull/36375>
- <https://github.com/mattermost/mattermost/pull/36188>
- <https://github.com/mattermost/mattermost/commit/977c791e5b54bc14fdb96a2b3dacc85da5d8c623>
- <https://github.com/mattermost/mattermost/commit/7d6816abdfd170169f717aea43c5716a1f9ef6b0>
- <https://github.com/mattermost/mattermost/commit/479fc42d0ec6da48e76b59608233d90bfc69769d>
- <https://github.com/mattermost/mattermost/commit/3a96344214b1a84df70d97052d46b6f2b40b0caa>
- <https://github.com/mattermost/mattermost/commit/2dea05864024b3254fb28c5ed679592e2b7cd672>
- <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-c28q-m4gf-vg4q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-c28q-m4gf-vg4q/>. Everything for agents: <https://agentprime.io/llms.txt>.
