## @zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs, gitlab
- CVE: CVE-2026-137187
- 公開日時: 2026-12-01T00:53:25.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-5xhm-p3jx-2fmc)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-5xhm-p3jx-2fmc

影響: npm:@zereight/mcp-gitlab >= 2.2.5, <= 2.3.6 → 2.3.7
gitlab_api_request (tools/gitlab-api-request.ts) is gated by an operator-configured per-project allowlist (allowedProjectIds) intended to restrict which GitLab projects this MCP server's caller can reach via arbitrary /api/v4 paths. assertProjectAllowlist (tools/gitlab-api-request.ts:184-204) calls readProjectIdFromApiRelativePath(relativePath) to extract a project ID from the request path, then checks it against the allowlist via projectAllowed(). But when that extraction returns undefined (li…