CVE-2026-5139
Analyzed Analyzed - Analysis Complete

Authorization Bypass in Mattermost GitLab Integration

Vulnerability report for CVE-2026-5139, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-22

Last updated on: 2026-06-23

Assigner: Mattermost, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-22
Last Modified
2026-06-23
Generated
2026-07-12
AI Q&A
2026-06-22
EPSS Evaluated
2026-07-11
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
mattermost mattermost_server From 10.11.0 (inc) to 10.11.18 (exc)
mattermost mattermost_server From 11.7.0 (inc) to 11.7.1 (exc)
mattermost mattermost_server From 11.5.0 (inc) to 11.5.6 (exc)
mattermost mattermost_server From 11.6.0 (inc) to 11.6.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in certain versions of Mattermost (11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17) where the system fails to enforce administrator authorization on the setDefaultInstance call within the /gitlab connect command handler.

Because of this failure, any authenticated user can overwrite the global default GitLab instance configuration by using the /gitlab connect <instance-name> slash command.

Impact Analysis

This vulnerability allows any authenticated user to change the global default GitLab instance configuration without requiring administrator privileges.

Such unauthorized changes could lead to potential misconfigurations, impacting the integrity and availability of the GitLab integration within Mattermost.

The CVSS score of 5.4 indicates a medium severity with low attack complexity but requiring privileges, and it can cause integrity and availability impacts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-5139. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart