| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-61462 |
| Date (index) | 2026-07-13 |
| Affected product (index) | 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 |
| GHSA ID | None — no GitHub advisory published (search) |
| OWASP MCP Top 10 (2025) | MCP01 — Token Mismanagement & Secret Exposure |
| Published / disclosed | 2026-07-13 |
| Ecosystem | Application / upstream project |
| Component | mcp-gitlab |
| EPSS score | 0.005080000 (FIRST EPSS, 2026-09-26) |
| CVSS score | CRITICAL — 9.2 CVSS v4.0 |
| CWE | CWE-73 |
| Affected versions | v2.1.31, v2.1.30, v2.1.29, v2.1.28, v2.1.27, v2.1.26, v2.1.25, v2.1.24, v2.1.23, v2.1.22, v2.1.21, v2.1.20, v2.1.19, v2.1.18, v2.1.17, v2.1.16, v2.1.15, v2.1.14, v2.1.13, v2.1.12, v2.1.11, v2.1.10, v2.1.9, v2.1.8, v2.1.7, v2.1.6, v2.1.5, v2.1.4, v2.1.3, v2.1.2, v2.1.1, v2.1.0, v2.0.36, v2.0.35, v2.0.34, v2.0.33, v2.0.32, v2.0.30, v2.0.28, v2.0.25, v2.0.24, v2.0.23, v2.0.22, v2.0.21, v2.0.20, v2.0.19, v2.0.18, v2.0.17, v2.0.16, v2.0.15, v2.0.14, v2.0.13, v2.0.12, v2.0.11, v2.0.9, v2.0.10, v2.0.7, v2.0.6, v2.0.5, v2.0.4, v2.0.3, v1.0.76, v1.0.73, v1.0.72, v, v1.0.65, v1.0.64, 1.0.63, v1.0.63, 1.0.62, 1.0.60, v1.0.59, v1.0.57, v1.0.56, v1.0.54, v1.0.53, v1.0.52, v1.0.50, v1.0.48, v1.0.47, v1.0.46, v1.0.45, v1.0.42, v1.0.40, v1.0.39, v1.0.38, v1.0.37, v1.0.36, v1.0.34, 1.0.32 |
| Fixed versions | 2.1.18 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP01 — Token Mismanagement & Secret Exposure. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-61462 and apply the upstream patched release or commit recommended by the vendor/CNA.