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.
References (4)
Core 4
Core References
Patch patch
Patch Commit
https://github.com/zereight/gitlab-mcp/commit/e2a81a047ab8750fa5bfa1763b5d85e5616f3994
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/mcp-gitlab-path-traversal-via-job-id-parameter
Scores
CVSS v3
8.6
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-73
Status
published
Products (1)
zereight/mcp-gitlab
< 2.1.18
Published
Jul 13, 2026
Tracked Since
Jul 13, 2026