GitHub Advisoryadvisory · Go
GHSA-vwxw-jrg6-9jxv MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints
CRITICAL
Official page ↗
- Aliases
- CVE-2026-11720
- Ecosystem
- Go
- Packages
- github.com/googleapis/mcp-toolbox
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2026-09-04
Affected packages
• Go github.com/googleapis/mcp-toolbox: < 1.3.0 → fixed in 1.3.0
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).
Related
Alias · CVE (1)
- CVE-2026-11720 A path traversal vulnerability exists in the HTTP tool URL builder of googleapis/mcp-toolbox. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-11720 advisory
- https://github.com/googleapis/mcp-toolbox/pull/3218 web
- https://github.com/googleapis/mcp-toolbox/commit/80a66021205e032a424fff87b3dc6d92da58aa77 web
- https://github.com/googleapis/mcp-toolbox package
- https://github.com/googleapis/mcp-toolbox/releases/tag/v1.3.0 web