CVE-2026-5139
Last modified
CVE-2026-5139 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost Server | >= 10.11.0, < 10.11.18 |
| Mattermost | Mattermost Server | >= 11.5.0, < 11.5.6 |
| Mattermost | Mattermost Server | >= 11.6.0, < 11.6.3 |
| Mattermost | Mattermost Server | >= 11.7.0, < 11.7.1 |
References
- https://mattermost.com/security-updatesVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5139?
How severe is CVE-2026-5139?
How do I fix CVE-2026-5139?
Are you affected by CVE-2026-5139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
