CVE-2026-145047

Guzzle before 7.16.3 Host Check Bypass via Malformed Bracketed URI Host

Published Dec 4, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Guzzle before 7.16.3 Host Check Bypass via Malformed Bracketed URI Host
First Time appeared Guzzlephp
Guzzlephp guzzle
Weaknesses CWE-436
CPEs cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:*
Vendors & Products Guzzlephp
Guzzlephp guzzle
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 4, 2026, 4:10 PM
Reserved
Dec 4, 2026, 2:45 PM
Status
Awaiting Analysis
Published
Dec 4, 2026, 5:19 PM
Modified
Dec 4, 2026, 6:29 PM