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

- Severity: Medium 5.4 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-06-22T13:34:21.247Z
- Modified: 2026-09-28T17:10:54.433Z
- Also known as: GHSA-2g8v-grq3-hq2g, GO-2026-6480
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 11.7.0 up to 11.7.0; from 11.6.0 up to 11.6.2; from 11.5.0 up to 11.5.5; from 10.11.0 up to 10.11.17 (not affected: 11.8.0; 11.7.1; 11.6.3; 11.5.6; 10.11.18)
- github.com/mattermost/mattermost-server (Go): from 11.7.0 before 11.7.1; from 11.6.0 before 11.6.3; from 11.5.0 before 11.5.6; from 10.11.0 before 10.11.18; from 10.11.0+incompatible before 10.11.18+incompatible; from 11.5.0+incompatible before 11.5.6+incompatible; from 11.6.0+incompatible before 11.6.3+incompatible; from 11.7.0+incompatible before 11.7.1+incompatible
- mattermost mattermost_server: from 10.11.0 before 10.11.18; from 11.5.0 before 11.5.6; from 11.6.0 before 11.6.3; from 11.7.0 before 11.7.1

## Every score

- Mattermost: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5139> (advisory)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-2g8v-grq3-hq2g> (advisory)

## Sources

- CVE List: [CVE-2026-5139](https://www.cve.org/CVERecord?id=CVE-2026-5139), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-2g8v-grq3-hq2g](https://github.com/advisories/GHSA-2g8v-grq3-hq2g), CC-BY-4.0, modified 2026-09-28
- Go Vulnerability Database: [GO-2026-6480](https://pkg.go.dev/vuln/GO-2026-6480), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-5139](https://nvd.nist.gov/vuln/detail/CVE-2026-5139), Public domain, modified 2026-06-23

---

Page: https://cve.day/CVE-2026-5139 · Whole record: https://cve.day/CVE-2026-5139.json · Rebuilt by cve.day 2026-11-25T22:59:25.359Z
