CVE-2026-5139: GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration
Vulnerability summary
CVE-2026-5139 is a medium (CVSS 5.4) Missing Authorization vulnerability in mattermost. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.5% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 22-06-2026Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
Decrease -0.12 pp
From 0.29% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mattermost2 products
- mattermost11.7.0 | ≥ 11.6.0, ≤ 11.6.2 | ≥ 11.5.0, ≤ 11.5.5 | ≥ 10.11.0, ≤ 10.11.17
- 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
Github.com/mattermost1 product
- mattermost-server≥ 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
2 vendors · 3 products