Skip to main content

Guzzle EUVDEUVD-2026-52443

| CVE-2026-69245 MEDIUM
Incorrect Behavior Order: Validate Before Canonicalize (CWE-180)
2026-08-03 GitHub_M GHSA-f7vp-7xgx-4w4r
6.5
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI
4.8 MEDIUM

Exploitation requires private/container DNS control and non-canonical IP addressing in the application, so AC:H; no authentication or user interaction is needed once conditions are met.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/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:N/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
Unchanged
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:36 vuln.today
Analysis Generated
Aug 03, 2026 - 21:36 vuln.today
CVE Published
Aug 03, 2026 - 21:05 cve.org
MEDIUM 6.5

DescriptionCVE.org

Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, SetCookie::matchesDomain() gives every subdomain of a cookie Domain that cookie unless SetCookie::matchesDomain() recognizes the Domain as an IP literal or a numeric host, and the decision comes from the domain's own text, so two spellings a transport reads as an address keep subdomain scope. Hexadecimal and mixed-base forms such as 0x7f000001 and 0177.0.0.0x1 go unrecognized while libcurl 8.21.0 reads both as 127.0.0.1. A percent-escaped Domain keeps that scope on both branches because percent-decoding sits above numeric parsing, so 192.168.0.%31 and 127.0.0.1%2e are registered names in the URI grammar rather than address literals, and no numeric rule in any base classifies them, while libcurl decodes the host before resolving and reads them as 192.168.0.1 and 127.0.0.1. A cookie stored for Domain=0x7f000001 is placed in the Cookie header of a request to evil.0x7f000001, disclosing a session identifier or token to a host that is not that address, and a response from evil.0x7f000001 setting Domain=0x7f000001 is accepted into the jar and replayed to the address, so a server answering for the look-alike name can fix a session or set application state. Exploitation requires the application to enable cookie support, address an origin by one of these spellings, and contact a host whose name ends in that spelling. This issue is fixed in versions 7.15.2 and 8.0.1.

AnalysisAI

Cookie domain scope bypass in Guzzle PHP HTTP client (prior to 7.15.2 and 8.0.1) allows improper cookie sharing via non-canonical IP address representations in cookie Domain attributes. The flaw in SetCookie::matchesDomain() fails to recognize hexadecimal (e.g., 0x7f000001), mixed-base octal (e.g., 0177.0.0.0x1), and percent-escaped (e.g., 192.168.0.%31) host spellings as IP literals, so cookies set for such domains incorrectly gain subdomain scope while libcurl resolves the same strings as actual IP addresses. This divergence enables an adversary-controlled host (e.g., evil.0x7f000001) to receive session cookies intended for the target IP, facilitating credential disclosure and session fixation; no public exploit identified at time of analysis.

Technical ContextAI

The root cause is CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize) in Guzzle's SetCookie::matchesDomain() within src/Cookie/SetCookie.php. RFC 6265 restricts subdomain cookie scope to registered hostnames, not IP addresses; Guzzle's guard for numeric hosts historically recognized only standard dotted-decimal notation. A transport-layer canonicalization gap emerges because libcurl 8.21.0 resolves hexadecimal single-integer forms (0x7f000001), inet_aton-style mixed-base octets (0177.0.0.0x1), and percent-escaped labels (192.168.0.%31, 127.0.0.1%2e) as concrete IPv4 addresses before connecting, while Guzzle's cookie logic evaluates the raw text string and classifies these as registered domain names eligible for subdomain scope. Percent-decoding sits above numeric parsing in Guzzle's pipeline, so percent-escaped values are never classified as IP literals regardless of branch. The CPE is cpe:2.3:a:guzzle:guzzle:*:*:*:*:*:*:*:* covering the composer package guzzlehttp/guzzle. The related prior fix GHSA-g446-98w2-8p5w (CVE-2026-59883) addressed hex/octal in the rightmost label for 8.0.0, which is why 8.0.0 is only vulnerable to the percent-escaped variant.

RemediationAI

Vendor-released patch: 7.15.2 and 8.0.1. Upgrade via Composer to guzzlehttp/guzzle ^7.15.2 or ^8.0.1 as appropriate for your major version branch. Release tags are confirmed at https://github.com/guzzle/guzzle/releases/tag/7.15.2 and https://github.com/guzzle/guzzle/releases/tag/8.0.1; the underlying code changes are in PRs #3907 and #3908. The fix enforces exact-match-only cookie domain scoping for percent-escaped domains and for domains whose dot-separated parts are all decimal, octal, or hexadecimal, eliminating the subdomain scope grant. If immediate upgrade is not feasible, disabling Guzzle's cookie jar (removing the cookies or CookieJar option from the Guzzle client) fully eliminates the attack surface with the trade-off of losing all stateful cookie handling. If cookies are required but upgrade is blocked, restrict all application-level origin addresses to standard FQDN notation - never pass hex, octal, mixed-base, or percent-encoded IP strings as origin hosts - which prevents the divergence from arising, though this requires auditing all call sites.

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-52443 vulnerability details – vuln.today

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