What’s Vulnerable › Vulnerabilities
CVE-2026-61462: mcp-gitlab Path Traversal via job_id Parameter
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-13 · updated 2026-10-24
- Weakness: CWE-73
Description
mcp-gitlab contains a path traversal vulnerability in the job_id parameter of build/index.js that allows attackers to redirect GitLab API requests to arbitrary endpoints. Attackers can supply crafted job_id values like ../../../user to escape the intended path prefix and access arbitrary GitLab API resources using the operator's personal access token.
Affected products
- zereight mcp-gitlab: before 2.1.18 — fixed in 2.1.18
How to fix
Upgrade to a fixed version: zereight mcp-gitlab 2.1.18. Check the vendor advisory for mitigations.
References
- https://github.com/zereight/gitlab-mcp
- https://github.com/zereight/gitlab-mcp/commit/e2a81a047ab8750fa5bfa1763b5d85e5616f3994
- https://github.com/zereight/gitlab-mcp/issues/587
- https://www.vulncheck.com/advisories/mcp-gitlab-path-traversal-via-job-id-parameter
- https://github.com/zereight/gitlab-mcp/issues/587
Get alerted when CVE-2026-61462 or the next vulnerability affects your stack