AI Stack Alert Medium CVE-2026-137187 For CISO, AppSec, AI Eng, SOC / IR AI-assisted
CVE-2026-137187: @zereight/mcp-gitlab project allowlist bypass via non-project API paths (2.2.5-2.3.7)
The @zereight/mcp-gitlab Model Context Protocol server for GitLab has a flaw in its project allowlist check for the gitlab_api_request tool. When no project ID can be extracted from a /api/v4 path, the allowlist check returns without enforcing allowedProjectIds. The issue affects versions 2.2.5 through 2.3.7 and is fixed in 2.3.7.
Why it matters
Callers can reach GitLab API operations permitted by the server's token outside the configured project boundary. Organizations relying on allowedProjectIds to limit an MCP server's GitLab access may have broader access than intended.
Do this
- Upgrade @zereight/mcp-gitlab to version 2.3.7 or later.
- Until upgraded, restrict the server token to only the projects intended for MCP use and review its group and instance-level permissions.
- Audit MCP server logs for gitlab_api_request calls to group, user, or instance API paths that fall outside the allowed projects.
- Review whether allowedProjectIds is the only control limiting this server and add network or token-scope restrictions as defense in depth.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 5.4CVSS
- NoPublic PoC
- 27/100Priority
- 80%Confidence
Evidence
“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”
“Group, user, instance, and other unrecognized paths bypass the intended project restriction in both initial requests and redirect revalidation”
“This issue is fixed in 2.3.7.”
Sources
Affected / related
@zereight/mcp-gitlab, GitLab, Model Context Protocol
Published 2026-11-30 19:17 UTC · updated 2026-11-30 20:35 UTC · AI-assisted summary, checked against quoted sources · How we score