@zereight/mcp-gitlab gitlab_api_request: project allowlist is silently skipped for any GitLab API path that has no parseable project ID
@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.
Affected Packages
No package information available.
Actions
Advisory Details
| Published: | November 30, 2026 about 18 hours ago |
| Updated: | December 01, 2026 about 13 hours ago |
| CVSS Score: | 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Source: | Osv |
| UUID: | CVE-2026-137187 |
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137187.json
- https://github.com/zereight/gitlab-mcp/commit/9faa3beab973cae147d57f125b79e2b25d30520e
- https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7
- https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmc
- https://nvd.nist.gov/vuln/detail/CVE-2026-137187