CVE-2026-11720
JSON

9.3critical

Path Traversal in googleapis/mcp-toolbox HTTP Tool URL Builder

Severity
9.3critical CVSS:4.0 by Google
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google
Also known as
GHSA-vwxw-jrg6-9jxvGO-2026-6411

Description

A path traversal vulnerability exists in the HTTP tool URL builder of googleapis/mcp-toolbox. When constructing downstream API requests, the URL builder substitutes user-controlled pathParams into the configured tool path and parses the resulting string as a relative URL. While it checks that the input does not alter the scheme, host, or user info, it relies on ResolveReference for the final URL resolution. Because dot segments (../) are normalized during this resolution step, an attacker can supply path parameters containing directory traversal sequences to escape the operator-configured path scope. This allows the client to coerce the toolbox into making requests to unintended endpoints on the same target host while forwarding the toolbox's configured credentials (e.g., bypassing a restricted path like /api/v1/users/{{.id}} to reach /admin/secrets).

Affected

Product or packageVersionsReported by
Google MCP Toolbox for Databases (googleapis/mcp-toolbox)before 1.3.0CVE List
github.com/googleapis/mcp-toolbox (Go)before 1.3.0GitHub Advisory Database, Go Vulnerability Database
google mcp_toolbox_for_databasesbefore 1.3.0NVD

All scores

Google9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

A path traversal vulnerability exists in the HTTP tool URL builder of googleapis/mcp-toolbox. When constructing downstream API requests, the URL builder substitutes user-controlled pathParams into the configured tool path and parses the resulting string as a relative URL. While it checks that the input does not alter the scheme, host, or user info, it relies on ResolveReference for the final URL resolution. Because dot segments (../) are normalized during this resolution step, an attacker can supply path parameters containing directory traversal sequences to escape the operator-configured path scope. This allows the client to coerce the toolbox into making requests to unintended endpoints on the same target host while forwarding the toolbox's configured credentials (e.g., bypassing a restricted path like /api/v1/users/{{.id}} to reach /admin/secrets).

Go Vulnerability Database

MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints in github.com/googleapis/mcp-toolbox

NVD (es)

Una vulnerabilidad de salto de ruta existe en el constructor de URL de la herramienta HTTP de googleapis/mcp-toolbox. Al construir solicitudes API descendentes, el constructor de URL sustituye pathParams controlados por el usuario en la ruta de la herramienta configurada y analiza la cadena resultante como una URL relativa. Si bien verifica que la entrada no altera el esquema, el host o la información del usuario, se basa en ResolveReference para la resolución final de la URL. Debido a que los segmentos de puntos (.. / ) se normalizan durante este paso de resolución, un atacante puede proporcionar parámetros de ruta que contengan secuencias de salto de directorio para escapar del ámbito de ruta configurado por el operador. Esto permite al cliente obligar a la caja de herramientas a realizar solicitudes a puntos finales no deseados en el mismo host de destino mientras reenvía las credenciales configuradas de la caja de herramientas (por ejemplo, eludiendo una ruta restringida como /api/v1/users/{{.id}} para alcanzar /admin/secrets).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-11720 changed 2026-06-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-vwxw-jrg6-9jxv changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6411 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-11720 changed 2026-10-25Public domain