Guzzle before 7.16.3 Host Check Bypass via Malformed Bracketed URI Host
- CVE-2026-145047
- EUVD-2026-144327
Description
Guzzle (guzzlehttp/guzzle) before 7.16.3 accepts bracketed request URI hosts that are not IP literals, such as [127.0.0.1]:6379], while PHP's stream transport connects to the host and port inside and after the brackets, regardless of what Uri::getHost() and Uri::getPort() report. Attackers who influence a fetched URI or redirect target can bypass application host and port checks, causing StreamHandler to reach excluded loopback hosts or ports for server-side request forgery.
Text from the CVE.org record.
Recommendation
guzzle
- If you run a version before 7.16.3update to 7.16.3 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
guzzle
Affected versions Fixed in before 7.16.3 7.16.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.