---
id: CVE-2026-61462
title: >-
  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
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'
cwe:
  - CWE-73
vendor: zereight
product: mcp-gitlab
affected:
  - mcp-gitlab < 2.1.18
published: '2026-07-13'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:25.677'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61462'
references:
  - url: 'https://github.com/zereight/gitlab-mcp'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/zereight/gitlab-mcp/commit/e2a81a047ab8750fa5bfa1763b5d85e5616f3994
    label: disclosure@vulncheck.com
  - url: 'https://github.com/zereight/gitlab-mcp/issues/587'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/mcp-gitlab-path-traversal-via-job-id-parameter
    label: disclosure@vulncheck.com
  - url: 'https://github.com/zereight/gitlab-mcp/issues/587'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-07-13T18:49:52.388940Z'
epss: 0.00483
epssPercentile: 0.41429
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.

## Remediation

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