github.com/googleapis/mcp-toolbox
Affected
- introduced
0, fixed1.3.0(semver)
Fixed versions
1.3.0
Fix
- Fixed version
1.3.0go get github.com/googleapis/[email protected]
Advisory
Also known as: CVE-2026-11720, GO-2026-6411
MCP Toolbox HTTP tool path parameters allow traversal to unintended endpoints
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).
Critical Basis: The source's own band: CRITICAL
0, fixed 1.3.0 (semver)1.3.0
1.3.0go get github.com/googleapis/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0