@zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| 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…
2026/12/01 09:53,GitHub Advisory Database 发布了“@zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js、GitLab。CVE:CVE-2026-137187。