---
id: CVE-2026-61462
title: mcp-gitlab Path Traversal via job_id Parameter
summary: >-
  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 e…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-73
vendor: zereight
product: mcp-gitlab
affected:
  - mcp-gitlab < 2.1.18
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-07-13T18:49:52.388940Z'
exploitAvailable: true
published: '2026-07-13'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T14:18:06.347Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-61462'
references:
  - url: 'https://github.com/zereight/gitlab-mcp/issues/587'
    label: GitHub Issue
  - url: 'https://github.com/zereight/gitlab-mcp'
    label: Product
  - url: >-
      https://github.com/zereight/gitlab-mcp/commit/e2a81a047ab8750fa5bfa1763b5d85e5616f3994
    label: Patch Commit
  - url: >-
      https://www.vulncheck.com/advisories/mcp-gitlab-path-traversal-via-job-id-parameter
tags:
  - cve.org
  - exploit-available
epss: 0.00508
epssPercentile: 0.40829
ingestedAt: '2026-09-24T15:45:56.724Z'
---

## Overview

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

- `mcp-gitlab < 2.1.18`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
