CVE-2026-5139: GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration

Published Jun 22, 2026
·
Updated

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

Affected Software

5 affected components
Mattermost Mattermost=11.7.0, >=11.6.0<=11.6.2, >=11.5.0<=11.5.5, >=10.11.0<=10.11.17
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.8.0
  2. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.7.1
  3. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.6.3
  4. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 11.5.6
  5. Upgrade

    Upgrade Mattermost to a version that resolves this vulnerability.

    Fixed in 10.11.18

Event History

Jun 22, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5139?

CVE-2026-5139 has a medium severity rating of 5.4.

2

How do I fix CVE-2026-5139?

To fix CVE-2026-5139, update Mattermost to versions greater than 11.7.0, 11.6.2, 11.5.5, or 10.11.17.

3

What versions of Mattermost are affected by CVE-2026-5139?

Mattermost versions 11.7.x up to 11.7.0, 11.6.x up to 11.6.2, 11.5.x up to 11.5.5, and 10.11.x up to 10.11.17 are affected by CVE-2026-5139.

4

What type of users are impacted by CVE-2026-5139?

CVE-2026-5139 affects all authenticated users who can access the GitLab Plugin without admin privileges.

5

What is the risk associated with CVE-2026-5139?

CVE-2026-5139 poses a risk level of 34, indicating potential unauthorized modification of the default GitLab instance configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203