Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInvoke gitlab_api_request via enabled api toolset
-
DeliveryCraft /api/v4 path with no project segment
-
ExploitAllowlist check returns early without enforcing
-
ExecutionRequest runs with server GitLab token
-
ImpactReach group/user/instance API outside allowed projects
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific non-default deployment: (1) the |
| Impact | This is a moderate, configuration-dependent authorization flaw (CWE-862), not an emergency. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) describes a network-reachable, low-complexity bug that requires low privileges (PR:L) - i.e. a caller already authorized to invoke the MCP server's gitlab_api_request tool - and yields only partial confidentiality and integrity impact bounded by the server's GitLab token scope. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent finding. There is no CISA KEV listing and no EPSS score in the supplied data, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but should not be read as confirmed exploitation either. The GHSA explicitly states the issue was 'found via static analysis of the public repository' and was 'not tested against a live GitLab instance,' so no working exploit is demonstrated. The practical risk is real only where an operator deliberately configured allowedProjectIds (or a session project scope) to confine a caller and relied on it as a security boundary - in that case the boundary silently does not apply to group/user/instance/admin API paths. The impact ceiling is set entirely by what the server's GitLab token is permitted to do, which the input does not specify. |
| Exploit ScenarioDerived | An operator runs the MCP server with the opt-in |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Missing authorization in the @zereight/mcp-gitlab Model Context Protocol server (versions 2.2.5 through 2.3.6) allows an authorized caller of the gitlab_api_request tool to reach GitLab API operations outside the operator's configured project allowlist, bounded only by the privileges of the server's GitLab token. The allowlist check fails open whenever a requested /api/v4 path does not resolve to a recognized project segment, so group-, user-, instance- and admin-level endpoints, as well as redirect revalidation with an empty relative path, are permitted despite GITLAB_ALLOWED_PROJECT_IDS being configured. Exploitation is conditional: the opt-in api toolset must be explicitly enabled in GITLAB_TOOLSETS, the allowlist must actually be set, and the caller must already hold a token-valid session (PR:L); no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Fixed in 2.3.7.
RemediationAI
Upgrade @zereight/mcp-gitlab to 2.3.7 or later, which contains the upstream commit 9faa3beab973cae147d57f125b79e2b25d30520e and the corresponding release at https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7 - see the advisory at https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmc for details. Because 2.3.7 converts the allowlist to a closed-by-default model, only /projects/:id paths for allowed projects are accepted and group-, user-, search-, runner- and instance-level endpoints are now rejected; operators who legitimately relied on those endpoints through gitlab_api_request will lose that capability and must reach such data through other tools or a separately trusted integration. If upgrading is not immediately possible, remove api from GITLAB_TOOLSETS so the gitlab_api_request tool is not exposed at all (note that GITLAB_TOOLSETS=all does not enable it, so no additional change is needed in that configuration), and reduce the blast radius by issuing the server's GitLab token with the minimum scope and role required, since the bypass is capped by that token's permissions. Be aware that even after the fix, request body and query parameters that name a different project are not validated, so the allowlist should not be treated as a complete data-boundary control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The package is an MCP server that exposes GitLab operations, including an opt-in gitlab_api_request tool that proxies arbitrary /api/v4 paths using the server's configured GitLab token. The affected code is tools/gitlab-api-request.ts, where assertProjectAllowlist() calls readProjectIdFromApiRelativePath() to derive a numeric project ID from the request path and then validates it with projectAllowed(). CWE-862 (Missing Authorization) arises because the function returns early - with no check at all - when the extraction yields undefined, treating 'project could not be identified' as 'allow' rather than deny. The same fail-open path exists in the redirect-revalidation routine (assertRedirectedApiPathAllowed), which also returns early for an empty relative path, so a redirect from a project-scoped request can land on a non-project endpoint without re-validation. Because the parser only recognizes /projects/:id shapes, every other GitLab API surface - /groups/..., /users/..., /search, /runners, instance/admin endpoints, and any future route not covered by the parser - silently escapes the boundary. The fix (commit 9faa3beab973cae147d57f125b79e2b25d30520e) inverts the logic to a closed-by-default model in which only /projects/:id paths for an allowed project are accepted when GITLAB_ALLOWED_PROJECT_IDS or a session project scope is present, and all other endpoints are rejected. The accompanying documentation change explicitly states that body and query parameters naming another project are still not inspected, and that GITLAB_PROJECT_ID and OAuth group allowlists are not enforced by this tool.
Know when Gitlab gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Network-reachable tool callable by an already-authorized caller (PR:L) with no special timing or user interaction (AC:L/UI:N); impact is partial read/write (C:L/I:L) bounded by the server token, no availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
@zereight/mcp-gitlab is a Model Context Protocol server for GitLab. From 2.2.5 until 2.3.7, assertProjectAllowlist for gitlab_api_request in tools/gitlab-api-request.ts returns without enforcing the configured allowedProjectIds check when readProjectIdFromApiRelativePath cannot extract a project ID from the requested /api/v4 path. Group, user, instance, and other unrecognized paths bypass the intended project restriction in both initial requests and redirect revalidation; redirect revalidation also returns early for an empty relative path. A caller can reach GitLab API operations allowed by the server's token outside the configured project boundary. This issue is fixed in 2.3.7.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)
The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x
A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
EUVD-2026-139637
GHSA-5xhm-p3jx-2fmc
NVD
CVE.org
EPSS
Exploit-DB