CVE-2026-137187: @zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project ID
Published 2026-12-01 · Updated 2026-12-01 · Also known as GHSA-5xhm-p3jx-2fmc
Summary
A missing authorization flaw in @zereight/mcp-gitlab allows the operator-configured project allowlist to be silently bypassed for GitLab API paths without a parseable project ID. Engineering and security teams using affected versions should update to the latest release.
Who is affected
Deployments of @zereight/mcp-gitlab using the allowedProjectIds feature to restrict callers to specific GitLab projects are affected. Callers can bypass this confinement entirely by using group-level, instance-level, admin, user-level, or unparsed GitLab API endpoints where a project ID cannot be extracted.
Exploitability
The vulnerability is exploitable over the network with low attack complexity, requiring low privileges and no user interaction, resulting in a CVSS 3.1 base score of 5.4. EPSS is not yet available, and CISA KEV lists no active exploitation.
Remediation
- Upgrade the npm package @zereight/mcp-gitlab to version 2.3.7 or later.
- Review GitLab API request configurations to ensure that unintended endpoints are not being exposed through path parsing gaps.
How to check your project
- Check project dependency files (such as package.json or lock files) to determine if @zereight/mcp-gitlab is present within the version range introduced at 2.2.5 and fixed before 2.3.7.
Automated analysis of the published advisory data, generated 2026-12-01. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @zereight/mcp-gitlab |
>= 2.2.5, < 2.3.7 | 2.3.7 | npm install @zereight/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity | Low |
| Availability | None |
FAQ
What causes the allowlist bypass in @zereight/mcp-gitlab?
The vulnerability occurs because the assertProjectAllowlist function returns early without performing a check when a project ID cannot be parsed from the relative API path.
Which versions are affected?
Versions of @zereight/mcp-gitlab introduced at 2.2.5 and fixed at 2.3.7 are affected.
Is this vulnerability actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities indicates no active exploitation.
Original advisory description
References
- WEB https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmc
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-137187
- WEB https://github.com/zereight/gitlab-mcp/commit/9faa3beab973cae147d57f125b79e2b25d30520e
- PACKAGE https://github.com/zereight/gitlab-mcp
- WEB https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7
Source records: GHSA-5xhm-p3jx-2fmc (OSV.dev).