CVE Catalog

CVE-2026-145047

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

45th percentile - higher than 45% of all known CVEs

Summary

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.

Risk Assessment

An attacker can bypass the application's host and port checks and force requests to internal loopback services, leading to server-side request forgery and potential access to protected resources.

Recommendation

Update Guzzle to version 7.16.3 or later. Until patched, validate and normalize URIs and restrict redirects to trusted hosts.

Other vulnerabilities in Guzzle

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS