CVE-2026-11720: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Google MCP Toolbox for Databases (googleapis/mcp-toolbox)
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).
AI Analysis
Technical Summary
The vulnerability exists in the URL builder component of googleapis/mcp-toolbox, which constructs downstream API requests by substituting user-controlled path parameters into a configured tool path. Although the input is checked to prevent changes to the scheme, host, or user info, the final URL resolution uses ResolveReference, which normalizes dot segments such as '../'. This normalization allows an attacker to supply directory traversal sequences that escape the operator-configured path scope. Consequently, the toolbox can be tricked into making requests to unintended endpoints on the same target host, forwarding its configured credentials and potentially bypassing path restrictions.
Potential Impact
An attacker can exploit this vulnerability to perform unauthorized requests to restricted endpoints on the same host by escaping the intended path scope. This could lead to unauthorized access to sensitive resources or administrative endpoints, leveraging the toolbox's credentials. The CVSS 4.0 score of 9.3 indicates a critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation has been provided at this time. Until a patch is available, users should consider restricting or validating path parameters more strictly to prevent directory traversal sequences or avoid using untrusted input in path construction.
CVE-2026-11720: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Google MCP Toolbox for Databases (googleapis/mcp-toolbox)
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).
CVSS v4.0
Score 9.3critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the URL builder component of googleapis/mcp-toolbox, which constructs downstream API requests by substituting user-controlled path parameters into a configured tool path. Although the input is checked to prevent changes to the scheme, host, or user info, the final URL resolution uses ResolveReference, which normalizes dot segments such as '../'. This normalization allows an attacker to supply directory traversal sequences that escape the operator-configured path scope. Consequently, the toolbox can be tricked into making requests to unintended endpoints on the same target host, forwarding its configured credentials and potentially bypassing path restrictions.
Potential Impact
An attacker can exploit this vulnerability to perform unauthorized requests to restricted endpoints on the same host by escaping the intended path scope. This could lead to unauthorized access to sensitive resources or administrative endpoints, leveraging the toolbox's credentials. The CVSS 4.0 score of 9.3 indicates a critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation has been provided at this time. Until a patch is available, users should consider restricting or validating path parameters more strictly to prevent directory traversal sequences or avoid using untrusted input in path construction.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Date Reserved
- 2026-06-09T00:57:55.333Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a42b42727e9c7971940f80c
Added to database: 06/29/2026, 18:06:31 UTC
Last enriched: 06/29/2026, 18:23:01 UTC
Last updated: 06/29/2026, 22:15:59 UTC
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.