← 漏洞与更新

中危漏洞公告JavaScript / Node.jsGitLab

@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.62.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…

在 GitHub Advisory Database 阅读

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。