CVE-2026-145047

medium

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.

References

https://www.vulncheck.com/advisories/guzzle-before-7.16.3-host-check-bypass-via-malformed-bracketed-uri-host

https://github.com/guzzle/guzzle/security/advisories/GHSA-hpvq-6rrx-pc47

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-144327

Details

Source: Mitre, NVD

Published: 2026-12-04

Updated: 2026-12-04

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 6.3

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Severity: Medium