CVE-2026-137187
published medium CVSS 3.1 · 5.4@zereight/mcp-gitlab gitlab_api_request: project allowlist is silently skipped for any GitLab API path that has no parseable project ID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zereight | — | gitlab-mcp>= 2.2.5, < 2.3.7 | Affected | Not stated | GitHub_M |
Description
@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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zereight | gitlab-mcp | >= 2.2.5, < 2.3.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
3Provider assertions
1GitHub_M · cna
@zereight/mcp-gitlab gitlab_api_request: project allowlist is silently skipped for any GitLab API path that has no parseable project ID
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6bcc59e2edf49a0cf25b84ff7497e1cab402b2f2bf23849a06b1ff0f16285d61
- Ingested
- 30 Nov 2026, 18:59:00 UTC
- Source record
- Official CVE record