Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Network-reachable slash command with no special configuration needed, but requires an authenticated session (PR:L); global config overwrite yields low integrity and availability impact with no confidentiality exposure.
Primary rating from Vendor (Mattermost).
CVSS VectorVendor: Mattermost
Lifecycle Timeline
1DescriptionCVE.org
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
AnalysisAI
The /gitlab connect slash command in Mattermost fails to enforce administrator-level authorization on the setDefaultInstance call, enabling any authenticated user to overwrite the workspace-wide default GitLab instance configuration. Affected across four concurrent release trains (11.7.0, 11.6.x ≤ 11.6.2, 11.5.x ≤ 11.5.5, 10.11.x ≤ 10.11.17), this missing authorization flaw (CWE-862) is exploitable by any valid Mattermost account holder without elevated privileges. No public exploit code or active exploitation has been identified at time of analysis, but the low attack complexity and low privilege requirement make this accessible to any workspace member targeting GitLab integration infrastructure.
Technical ContextAI
Mattermost is an open-source team messaging platform supporting slash commands for third-party integrations. The /gitlab plugin exposes a connect command with a setDefaultInstance handler designed to allow administrators to define the workspace-wide default GitLab endpoint. CWE-862 (Missing Authorization) is the root cause: the application performs a privileged, globally scoped configuration write without verifying that the invoking principal holds an administrative role. Because the overwritten setting is global, it affects all users and services relying on the GitLab integration across the entire Mattermost instance - not just the invoking user's session. The CPE string cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:* confirms this affects the Mattermost server application directly, not a separately packaged plugin component.
RemediationAI
Upgrade to a patched Mattermost release per advisory MMSA-2026-00644; consult https://mattermost.com/security-updates for the exact fix version in each affected release train, as precise patched version numbers were not independently confirmed in the available data beyond the advisory reference. As a compensating control pending upgrade, administrators can disable the GitLab plugin entirely via the Mattermost System Console if GitLab integration is not actively required - this eliminates the vulnerable command surface at the cost of all /gitlab slash command functionality. If the integration must remain active, restricting slash command usage to specific trusted channels or limiting channel membership reduces the pool of users who can invoke /gitlab connect, though this does not eliminate the vulnerability and should be treated as a partial mitigation only.
More in Mattermost
View allMattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa
Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s
A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto
Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w
A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp
Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the
Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t
Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf
Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38246
GHSA-2g8v-grq3-hq2g