CVE-2026-137187
MEDIUM 5.4CVSS 3.1@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.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-862
- Also known as
- GHSA-5xhm-p3jx-2fmc
- Sources
- NVDJSONCVE ListJSONOSV GHSA-5xhm-p3jx-2fmcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | zereight | gitlab-mcp | = >= 2.2.5, < 2.3.7 | |
| OSV | npm | @zereight/mcp-gitlab | >= 2.2.5, < 2.3.7 | 2.3.7 |
References
- https://github.com/zereight/gitlab-mcp/commit/9faa3beab973cae147d57f125b79e2b25d30520e · x_refsource_MISC, WEB
- https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7 · x_refsource_MISC, WEB
- https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmc · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-137187 · ADVISORY
- https://github.com/zereight/gitlab-mcp · PACKAGE
History
- 3 Dec 2026 17:56 UTC · NVD: updated (other details)
- 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
- 1 Dec 2026 01:28 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 19:41 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 18:49 UTC · CVE List: first stored (published 30 Nov 2026)