CVE-2026-137187: GitLab MCP server (@zereight/mcp-gitlab) skipped its project allowlist for group, user and instance API paths in gitlab_api_request (fixed 2.3.7)
From 2.2.5 until 2.3.7, @zereight/mcp-gitlab's assertProjectAllowlist for the gitlab_api_request tool returned without enforcing allowedProjectIds whenever readProjectIdFromApiRelativePath could not extract a project ID from the /api/v4 path. Group, user, instance and other unrecognized paths bypassed the restriction, in initial requests and in redirect revalidation (which also returned early for an empty path). A caller, such as an AI agent steered by injected content, could reach any GitLab API operation the server's token allows outside the configured project boundary. Fixed in 2.3.7.
What it is
allowedProjectIds is meant to confine the MCP server to specific GitLab projects.
assertProjectAllowlist only enforced it when it could parse a project ID from the request path; for paths with no project ID it allowed the request.
Affected: @zereight/mcp-gitlab 2.2.5 up to but not including 2.3.7. CVE published 30 November 2026.
How to check
- Run npm ls @zereight/mcp-gitlab (or check your npx pin) and confirm 2.3.7 or later.
How to fix
- Upgrade @zereight/mcp-gitlab to 2.3.7 or later.
- Give the server a GitLab token scoped as narrowly as possible (project access token) rather than relying on allowedProjectIds alone.
npm ls -g @zereight/mcp-gitlab; npm view @zereight/mcp-gitlab version Sources
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalCVE-2026-76092 and CVE-2026-76099: Docker MCP Gateway served its MCP endpoints with no auth in container mode, and its dynamic tools could mount the Docker socket for root on the host (fixed 0.43.1)
- criticalCVE-2026-142487: Joinly's meeting-agent MCP server let any network client import and run subprocess.Popen through the joinly-settings header (fixed 0.5.4)
- criticalCVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)