# 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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-11-30T18:42:45.072Z
- Modified: 2026-12-01T01:00:04.459Z
- Also known as: GHSA-5xhm-p3jx-2fmc
- Weaknesses: CWE-862
- Assigned by: 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.

(As written by CVE List.)

## Affected

- zereight gitlab-mcp: >= 2.2.5, < 2.3.7
- @zereight/mcp-gitlab (npm): from 2.2.5 before 2.3.7

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/zereight/gitlab-mcp/security/advisories/GHSA-5xhm-p3jx-2fmc> (web)
- <https://github.com/zereight/gitlab-mcp/commit/9faa3beab973cae147d57f125b79e2b25d30520e> (web)
- <https://github.com/zereight/gitlab-mcp/releases/tag/v2.3.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-137187> (advisory)
- <https://github.com/zereight/gitlab-mcp> (package)

## Sources

- CVE List: [CVE-2026-137187](https://www.cve.org/CVERecord?id=CVE-2026-137187), CVE Terms of Use, modified 2026-11-30
- GitHub Advisory Database: [GHSA-5xhm-p3jx-2fmc](https://github.com/advisories/GHSA-5xhm-p3jx-2fmc), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-137187](https://nvd.nist.gov/vuln/detail/CVE-2026-137187), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137187 · Whole record: https://cve.day/CVE-2026-137187.json · Rebuilt by cve.day 2026-12-01T01:27:11.071Z
