Auth bypass in Mattermost
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 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
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS: 0.003 (19.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Mattermost — versions 11.7.0, 11.6.0, 11.5.0
- Mattermost Server
Weakness classification (CWE)
References
- mattermost.com/security-updates (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-5139?
- CVE-2026-5139 is a medium-severity vulnerability in Mattermost, classified under Missing Authorization. CVSS score: 5.4/10. Published 2026-06-22.
- How severe is CVE-2026-5139?
- Medium severity. CVSS v3 base score is 5.4 out of 10.