CVE-2026-145603: Guzzle before 7.16.5 and 8.5.4 Proxy Bypass via Malformed Proxy URL
Guzzle before 7.16.5 and 8.5.4 contains a proxy bypass vulnerability in its built-in cURL handlers, which pass malformed proxy URLs to libcurl unvalidated. Proxy URLs with percent-encoded control characters, multiple @ signs, or empty hosts make certain libcurl releases silently drop the proxy, sending requests directly or to another host and evading proxy filtering and logging.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
guzzlehttp/guzzleto a version that resolves this vulnerability.Fixed in 7.16.5 - Upgrade
Upgrade
guzzlehttp/guzzleto a version that resolves this vulnerability.Fixed in 8.5.4
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using Guzzle's built-in cURL handlers before 7.16.5 or 8.5.4 are exposed when they use proxy URLs that can be malformed, including URLs containing percent-encoded control characters, multiple @ signs, or an empty host.
What does an attacker need to exploit the proxy bypass?
The attacker needs a way to cause the application to use a malformed proxy URL. No authentication or user interaction is required according to the supplied vector, but exploitation has high attack complexity.
Are direct outbound requests possible despite proxy filtering?
Yes. Certain libcurl releases can silently discard the malformed proxy configuration, causing requests to be sent directly or to another host instead of through the intended proxy, bypassing proxy filtering and logging.
What should be done if an upgrade cannot be applied immediately?
Ensure proxy URLs are validated before they reach Guzzle's cURL handlers. Reject proxy URLs with percent-encoded control characters, multiple @ signs, or empty hosts.
How can I determine whether my deployment is affected?
Check whether the application uses composer/guzzlehttp/guzzle before 7.16.5 or 8.5.4 and relies on its built-in cURL handlers with proxy configuration. Review proxy URL sources and logs for malformed values or requests that unexpectedly bypass the proxy.