Intel

AIKIDO-2026-665195

@zereight/mcp-gitlab is vulnerable to Path Traversal

CVE-2026-61462Published Jul 30, 2026
July 30, 2026

86

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

The pipeline and job tools interpolate the job_id argument into the GitLab API URL without URL-encoding or numeric validation, unlike project_id. Because URL parsing collapses ../ segments, a job_id containing dot-dot sequences escapes the intended jobs path and redirects the request to an arbitrary GitLab API endpoint. The request carries the operator's configured personal access token, so a caller who influences job_id can read the token owner's account, projects, and other resources beyond the job scope. The fix URL-encodes and validates job_id so user input cannot escape the intended path prefix.

How do I fix this?

Upgrade the @zereight/mcp-gitlab library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and an MCP caller can influence the job_id argument of the pipeline or job tools.

Versions

0.0.1 - 2.1.30

Fixed in 2.1.38

Background info

@zereight/mcp-gitlab is vulnerable to Path Traversal in versions 0.0.1 - 2.1.30.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea