CVE-2026-5139: 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
CVE-2026-5139 is a medium-severity flaw (CVSS 5.4) affecting mattermost server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-862 |
| Published | 2026-06-22 |
| Last modified | 2026-06-23 |
Last updated 2026-06-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5139?
mattermost server: upgrade to 10.11.18, 11.5.6, 11.6.3, 11.7.1. Exact commands for each OS are on this page.
Is CVE-2026-5139 being exploited?
CVE-2026-5139 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5139 affect?
CVE-2026-5139 affects mattermost server. Severity is medium (CVSS 5.4). 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 au
How urgent is CVE-2026-5139?
Priority 24/100. No elevated risk signals yet.
Software pages
GitLab vulnerabilities · Mattermost vulnerabilities
Related CVEs
- CVE-2026-19621 MEDIUM 6.5 UPGRADE Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to strip act
- CVE-2026-19600 MEDIUM 4.5 UPGRADE Mattermost versions 11.9.x <= 11.9.1, 11.8.x <= 11.8.5, 11.7.x <= 11.7.10, 11.10.x <= 11.10.1 fail to sanitize
- CVE-2026-19076 MEDIUM 4.4 UPGRADE Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to reject OA
- CVE-2026-6346 HIGH 8.7 UPGRADE Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 11.4.x <= 11.4.3 fail to sanitize sensitive configu
- CVE-2026-6347 HIGH 7.6 UPGRADE Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 11.4.x <= 11.4.3 fail to sanitize sensitive configu