Vulnerability  ·  2026-12-01

@zereight/mcp-gitlab project allowlist bypass (cross-project GitLab access)

VulnerabilityMedium impactGlobalCVE-2026-137187
From 2.2.5 to 2.3.7 the GitLab MCP server's allowlist enforcement returned early when a project ID could not be parsed, letting requests that should have been blocked by allowedProjectIds pass (CVSS 5.4, CWE-863).
The project allowlist is the containment control for an agent's GitLab MCP tool; a parse-driver bypass can let the agent read or modify repositories the operator explicitly excluded.
assertProjectAllowlist in tools/gitlab-api-request.ts returns without enforcing the configured allowedProjectIds check when readProjectIdFromApiRelativePath cannot extract a project ID from the API path, so an agent request outside the intended project scope passes (CWE-863).
@zereight/mcp-gitlab from 2.2.5 until 2.3.7 (fixed in 2.3.7)
Upgrade to v2.3.7.
NVD CVE-2026-137187zereight/gitlab-mcp commit 9faa3beab973cae147d57f125b79e2b25d30520e
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →