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.
CVE-2026-145047
CVSS base score
5.4 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-436
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N