CVE-2026-145603 in Guzzleinfo

Summary

by MITRE • 12/06/2026

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 12/06/2026

The vulnerability identified in Guzzle versions prior to 7.16.5 and 8.5.4 represents a critical security flaw within its HTTP client implementation, specifically affecting how proxy configurations are processed through the underlying cURL library. This issue stems from an insufficient validation mechanism when handling user-supplied or configuration-defined proxy URLs. The core technical failure lies in the fact that Guzzle passes these potentially malformed proxy strings directly to libcurl without performing rigorous sanitization checks for structural integrity and security compliance. In secure software development, input data destined for system-level libraries like cURL must be validated against expected formats to prevent unexpected behavior or exploitation of library-specific edge cases. By failing to enforce strict parsing rules on the proxy URL structure, Guzzle allows attackers to inject malformed inputs that exploit ambiguities in how libcurl interprets these strings.

The operational impact of this vulnerability is severe because it enables a complete bypass of network security controls designed around HTTP proxies. When an attacker provides a maliciously crafted proxy URL containing percent-encoded control characters, multiple at-signs (@), or empty host fields, certain versions of libcurl exhibit inconsistent behavior where they silently drop the proxy configuration entirely. This means that instead of routing traffic through the designated corporate or organizational proxy for inspection and logging, the HTTP client establishes direct connections to external destinations. Consequently, sensitive data may be exfiltrated without passing through web application firewalls, intrusion detection systems, or content filtering appliances. Furthermore, because the connection appears as a standard outbound request rather than one routed via an internal proxy endpoint, it evades security monitoring tools that rely on proxy logs for threat intelligence and anomaly detection.

From a classification perspective, this vulnerability aligns with CWE-20 Improper Input Validation, as the application fails to adequately verify user-controlled input before processing it through critical system interfaces. It also relates closely to CWE-941 Incorrect Proxy Specification, which describes scenarios where an attacker manipulates proxy settings to redirect traffic away from security controls. In terms of offensive cybersecurity frameworks such as MITRE ATT&CK, this flaw facilitates techniques associated with Defense Evasion and Command and Control, specifically by allowing adversaries to bypass network monitoring and establish covert communication channels that do not trigger standard alerting mechanisms based on proxy usage patterns. The ability to silently drop the proxy configuration effectively blinds security teams to outbound data transfers initiated through compromised Guzzle-based applications.

Mitigation strategies must focus primarily on immediate version updates within affected environments. Organizations utilizing PHP development frameworks or libraries dependent on Guzzle should upgrade immediately to versions 7.16.5 and later, or 8.5.4 and later, where the proxy URL validation logic has been hardened to reject malformed inputs before they reach libcurl. For systems that cannot be updated instantly due to dependency constraints, temporary workarounds involve implementing strict input validation at the application layer prior to passing any proxy configuration values to Guzzle clients. Developers should enforce regular expressions or parsing libraries that strictly adhere to RFC 3986 standards for URI syntax, ensuring that only well-formed hostnames and ports are accepted as proxy targets. Additionally, network-level monitoring should be enhanced to detect anomalies in outbound connection patterns, such as sudden increases in direct TCP connections from application servers that typically route traffic through proxies, which may indicate active exploitation of this vulnerability.

Responsible

VulnCheck

Reservation

12/05/2026

Disclosure

12/06/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!