# CVE-2026-5139: GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-22
- Aliases: GHSA-2g8v-grq3-hq2g, GO-2026-6480
- Record: https://cvemate.com/vulnerability/CVE-2026-5139 · JSON: https://cvemate.com/vulnerability/CVE-2026-5139/json

## Description

```text
Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler, which allows any authenticated user to overwrite the global default GitLab instance configuration via the {{/gitlab connect <instance-name>}} slash command.. Mattermost Advisory ID: MMSA-2026-00644
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.17%, percentile 6.568%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/mattermost mattermost-server (Go): ≥ 11.7.0, \< 11.7.1 \| ≥ 11.6.0, \< 11.6.3 \| ≥ 11.5.0, \< 11.5.6 \| ≥ 10.11.0, \< 10.11.18 \| ≥ 11.7.0+incompatible, \< 11.7.1+incompatible
- mattermost mattermost: 11.7.0 \| ≥ 11.6.0, ≤ 11.6.2 \| ≥ 11.5.0, ≤ 11.5.5 \| ≥ 10.11.0, ≤ 10.11.17
- mattermost mattermost\_server: ≥ 10.11.0, \< 10.11.18 \| ≥ 11.5.0, \< 11.5.6 \| ≥ 11.6.0, \< 11.6.3 \| ≥ 11.7.0, \< 11.7.1

## References

- <https://mattermost.com/security-updates>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5139>
- <https://github.com/mattermost/mattermost>
- <https://github.com/advisories/GHSA-2g8v-grq3-hq2g>

---

Data as of 2026-12-05T19:01:02.621Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
