← AI agent vulnerabilities

CVE-2026-137187

@zereight/mcp-gitlab

5.4
Severity
Medium
Published
November 30, 2026
Last modified
November 30, 2026

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

CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weakness

References

CVE-2026-137187 on NVD

Listed in

MediumMCP serversMissing authorization

More @zereight/mcp-gitlab CVEs

Sep 15
CVE-2026-615689.6

Versions prior to 2.1.30 expose the Streamable HTTP MCP endpoint without an effective Host or Origin allowlist.

Sep 15
CVE-2026-615609.8

The SSE transport mode (`SSE=true`) exposes all MCP tools without any authentication.

Sep 15
CVE-2026-615599.6

When the environment variable `ENABLE_DYNAMIC_API_URL=true` is set, the server reads the `X-GitLab-API-URL` HTTP request header and uses it as the base URL for all outbound GitLab API calls made within that…