Mattermost <=11.7.0/11.6.2/11.5.5/10.11.17 Auth Bypass on /gitlab connect
CVE-2026-5139 Published on June 22, 2026
GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration
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 Analysis
CVE-2026-5139 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is an AuthZ Vulnerability?
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
CVE-2026-5139 has been classified to as an AuthZ vulnerability or weakness.
Products Associated with CVE-2026-5139
Want to know whenever a new CVE is published for MatterMost? stack.watch will email you.
Affected Versions
Mattermost:- Version 11.7.0, <= 11.7.0 is affected.
- Version 11.6.0, <= 11.6.2 is affected.
- Version 11.5.0, <= 11.5.5 is affected.
- Version 10.11.0, <= 10.11.17 is affected.
- Version 11.8.0 is unaffected.
- Version 11.7.1 is unaffected.
- Version 11.6.3 is unaffected.
- Version 11.5.6 is unaffected.
- Version 10.11.18 is unaffected.