CVE-2026-61462

mcp-gitlab Path Traversal via job_id Parameter

Published Jul 13, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

mcp‑gitlab contains a path traversal flaw in the job_id parameter of its build/index.js module. By submitting crafted values such as ../../../user, an attacker can strip the intended path prefix and redirect GitLab API requests to any endpoint that the operator’s personal access token permits. This effectively granting unauthorized API access across the instance. The weakness is a CWE‑73 path‑traversal flaw that lets an attacker manipulate the proxied request path.

Affected Systems

This vulnerability affects installations of zereight mcp‑gitlab that include the vulnerable build/index.js implementation. The specific product version is not disclosed, so any deployment that has not yet been patched may be susceptible.

Risk and Exploitability

The CVSS score of 9.2 indicates a high severity vulnerability, while the EPSS score of less than 1% suggests that exploitation is currently unlikely in the general population. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw via remote HTTP requests to the job_id endpoint, provided they possess a valid operator personal access token with sufficient permissions. No additional networking or configuration prerequisites are listed; the existence of a suitable token is the sole requirement for exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an official patch from zereight for mcp‑gitlab as soon as one is released.
  • Validate the job_id parameter server‑side to allow only permitted characters and lengths, rejecting traversal sequences such as .. and "/".
  • Revoke or rotate the operator personal access tokens used by the proxy and enforce the minimum permissions necessary for the proxy’s operation.
  • Continuously monitor GitLab API traffic for anomalous requests and consider logging or alerting on patterns that indicate abuse.

Generated by OpenCVE AI on July 31, 2026 at 11:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zereight
Zereight mcp-gitlab
Vendors & Products Zereight
Zereight mcp-gitlab
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title mcp-gitlab Path Traversal via job_id Parameter
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:23 PM
Reserved
Jul 9, 2026, 2:07 PM
Status
Deferred
Published
Jul 13, 2026, 6:16 PM
Modified
Oct 24, 2026, 10:10 PM