Missing project allowlist check in @zereight/mcp-gitlab API requests
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.
Summary
@zereight/mcp-gitlab, a Model Context Protocol server for GitLab, from 2.2.5 before 2.3.7 skips the project allowlist check in gitlab_api_request when no project ID can be read from the requested /api/v4 path. This is missing authorization (CWE-862). A caller with low privileges over the network can reach GitLab API operations that the server's token allows, outside the configured project boundary, including group, user and instance paths.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
@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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zereight | gitlab-mcp | 2.2.5 to before 2.3.7 | 2.3.7 | Patch available | CNA |
| — | @zereight/mcp-gitlab (npm) | 2.2.5 to before 2.3.7 | 2.3.7 | Patch available | GHSA-5xhm-p3jx-2fmc |
- gitlab-mcp Vendorzereight Affected 2.2.5 to before 2.3.7 Fixed in 2.3.7 Patch available CNA
- @zereight/mcp-gitlab (npm) Vendor— Affected 2.2.5 to before 2.3.7 Fixed in 2.3.7 Patch available GHSA-5xhm-p3jx-2fmc
Remediation
Update @zereight/mcp-gitlab to version 2.3.7, which fixes the issue for the zereight gitlab-mcp and npm package @zereight/mcp-gitlab.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA gitlab-mcp (zereight) Fixed in 2.3.7
- Fix · GHSA-5xhm-p3jx-2fmc @zereight/mcp-gitlab (npm) Fixed in 2.3.7 Advisory →
Timeline
- 2026-11-30 Threatist record created from CVE-2026-137187
- 2026-12-01 Alias added: GHSA-5xhm-p3jx-2fmc
- 2026-12-01 Fix available: npm/@zereight/[email protected] · GHSA-5xhm-p3jx-2fmc
- 2026-12-01 CVSS score added · GHSA-5xhm-p3jx-2fmc
- 2026-12-01 Weakness changed · GHSA-5xhm-p3jx-2fmc
- 2026-12-01 5 new references · GHSA-5xhm-p3jx-2fmc
References
More zereight vulnerabilities
- TI-2026-44112 Path traversal in zereight gitlab-mcp CVSS 3.1CRITICAL 9.8
- TI-2026-44067 mcp-gitlab Path Traversal via job_id Parameter CVSS 4.0CRITICAL 9.2
- TI-2026-44111 @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery CVSS 3.1CRITICAL 9.6
- TI-2026-44113 @zereight/mcp-gitlab: DNS rebinding reaches local Streamable HTTP MCP transport CVSS 3.1CRITICAL 9.6
Sources
- CVE-2026-137187 · CVE Program
- CVE-2026-137187 · NVD
- GHSA-5xhm-p3jx-2fmc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences