Skip to main content

GuzzleHttp Guzzle EUVDEUVD-2026-52445

| CVE-2026-69246 HIGH
Incorrect Behavior Order: Validate Before Canonicalize (CWE-180)
2026-08-03 GitHub_M GHSA-v5mv-p594-2x33
7.2
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI
5.4 MEDIUM

AC:H reflects that exploitation requires the specific combination of untrusted URI input and host-based security controls; S:C retained because the vulnerability enables reaching and reading from out-of-scope internal hosts.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
Patch available
Aug 03, 2026 - 22:17 EUVD
Source Code Evidence Fetched
Aug 03, 2026 - 21:37 vuln.today
Analysis Generated
Aug 03, 2026 - 21:37 vuln.today
CVE Published
Aug 03, 2026 - 21:07 cve.org
HIGH 7.2

DescriptionCVE.org

Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.

AnalysisAI

Host confusion in GuzzleHttp Guzzle before 7.15.2 and 8.0.1 allows remote attackers who can influence a fetched URI to bypass application-level host validation and reach network hosts the application intended to block, including loopback and internal addresses. The divergence occurs because PHP's filter_var() and Guzzle's own host checks operate on the literal URI text while libcurl independently percent-decodes and IDNA-maps the authority before resolving and connecting, meaning the application and transport disagree on which host is being contacted. No public exploit has been identified and the vulnerability is absent from the CISA KEV catalog, but any application that implements SSRF mitigations via URI host inspection before passing a user-supplied URL to Guzzle is directly undermined.

Technical ContextAI

GuzzleHttp Guzzle (CPE: cpe:2.3:a:guzzle:guzzle:*:*:*:*:*:*:*:*) is the dominant PHP HTTP client, used as a dependency by Laravel, Symfony, Drupal, and most major PHP frameworks. It delegates transport to libcurl via CurlHandler and CurlMultiHandler, or to PHP's stream wrappers via StreamHandler. The root cause is CWE-180 (Use of Incorrect Comparison): Guzzle passes the raw URI text to the transport while supplying the Host header separately. libcurl re-parses the URI authority independently, applying percent-decoding (e.g., %31 decodes to '1', making 127.0.0.%31 resolve as 127.0.0.1) and, on IDN-capable builds, IDNA mapping. PHP validators such as filter_var(FILTER_VALIDATE_IP) and Guzzle's own no_proxy matching, RedirectMiddleware auth/cookie-stripping logic, and cookie domain scoping all evaluate the literal URI string - a different value from what libcurl actually connects to. The fix introduces a HostValidator class that rejects percent-escaped URI hosts, non-printable ASCII in Host headers, authority delimiters in URI hosts, and numeric-looking hosts with trailing dots, and also regenerates the Host header after client URI rewrites to close the Host/URI divergence.

RemediationAI

Vendor-released patches are available: upgrade to GuzzleHttp Guzzle 7.15.2 or 8.0.1 via Composer using 'composer require guzzlehttp/guzzle:^7.15.2' or 'composer require guzzlehttp/guzzle:^8.0.1' respectively. Release notes and patch details are at https://github.com/guzzle/guzzle/releases/tag/7.15.2 and https://github.com/guzzle/guzzle/releases/tag/8.0.1. If immediate patching is not possible, applications can partially mitigate by resolving and normalizing all incoming URIs to their canonically decoded form before any host validation and before passing to Guzzle, ensuring the checked host matches the host libcurl will connect to; this requires decoding all percent-sequences and applying IDNA normalization, which is complex and error-prone. A simpler but stricter compensating control is to reject any URI whose host field contains a percent character ('%') or non-ASCII bytes before it reaches Guzzle, at the cost of blocking legitimate internationalized hostnames. Neither workaround addresses the third-party UriInterface userinfo attack surface. Patching is strongly preferred.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

EUVD-2026-52445 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy