CVE-2026-145047
Received Received - Intake

Guzzle HTTP Client URI Host Bypass via Bracketed Hosts

Vulnerability report for CVE-2026-145047, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
guzzlehttp guzzle to 7.16.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-436 Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Guzzle versions before 7.16.3, where malformed bracketed hostnames in URIs bypass host-based security checks. Attackers can craft URIs like http://user@[127.0.0.1]:6379]:80/ to manipulate requests, causing the stream handler to connect to unintended hosts or ports. The issue stems from improper validation of bracketed hosts, allowing bypass of application-level restrictions.

Detection Guidance

Check Guzzle version with: composer show guzzlehttp/guzzle. If version is below 7.16.3, the system is vulnerable. Inspect application logs for requests containing bracketed hostnames like [127.0.0.1]:6379 or similar malformed URIs.

Impact Analysis

If you use an affected Guzzle version, attackers could exploit this to bypass host and port restrictions, potentially reaching restricted loopback hosts or ports. This could enable server-side request forgery (SSRF), allowing unauthorized access to internal systems or data. The impact depends on your application's URI handling and network configuration.

Compliance Impact

This vulnerability could lead to unauthorized data access or system interactions, violating confidentiality and integrity requirements in GDPR and HIPAA. Non-compliance risks include fines, legal penalties, and reputational damage due to potential data breaches or unauthorized access to sensitive information.

Mitigation Strategies

Upgrade Guzzle to version 7.16.3 or later immediately. If upgrading is not possible, implement strict input validation to reject malformed bracketed hostnames before processing URIs. Review and restrict network access to loopback and internal hosts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145047. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...