Critical
mcp-gitlab Path Traversal via job_id Parameter
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-61462
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:14 UTC · Revision 1
Source evidence
mcp-gitlab Path Traversal via job_id Parameter
core-osv · Original sourcePublished 13 Jul 2026, 17:17 UTC
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.
osv:CVE-2026-61462
Complete source record
{
"id": "167eefa75626a24583cde2fbb163a398c1eb99532227921c9014386d186f603d",
"url": "https://osv.dev/vulnerability/CVE-2026-61462",
"method": "structured",
"payload": {
"kind": "advisory",
"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 escape the intended path prefix and access arbitrary GitLab API resources using the operator's personal access token.",
"evidence": "osv:CVE-2026-61462",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-61462",
"aliases": [
"CVE-2026-61462"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zereight/gitlab-mcp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "74a8c834424ff557ad8bc6f225e4dc5acf80aa13"
},
{
"fixed": "e2a81a047ab8750fa5bfa1763b5d85e5616f3994"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "e2a81a047ab8750fa5bfa1763b5d85e5616f3994"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61462.json"
}
}
],
"modified": "2026-10-28T02:30:30.530351413Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61462.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-61462",
"https://www.vulncheck.com/advisories/mcp-gitlab-path-traversal-via-job-id-parameter",
"https://github.com/zereight/gitlab-mcp/issues/587",
"https://github.com/zereight/gitlab-mcp/commit/e2a81a047ab8750fa5bfa1763b5d85e5616f3994",
"https://github.com/zereight/gitlab-mcp"
],
"provider_metadata": {
"cwe_ids": [
"CWE-73"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61462.json"
}
},
"related_cves": [
{
"value": "CVE-2026-61462",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497724,
"published_at": "2026-07-13T17:17:26.026+00:00"
}