Skip to main content

GuzzleHttp Guzzle CVE-2026-69246

| EUVDEUVD-2026-52445 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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply percent-encoded URI host in user-controlled input
  2. Delivery
    Application validates literal host via filter_var() - check passes
  3. Exploit
    Guzzle passes raw URI to libcurl unmodified
  4. Execution
    libcurl decodes percent-escape and connects to real target host
  5. Persist
    Internal service returns private response
  6. Impact
    Attacker reads out-of-scope internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Leading special element handling
Exploitation Conditions

Exploitation requires the application to construct a Guzzle request URI that incorporates untrusted input (e.g., a user-supplied webhook URL, proxy target, or resource URL parameter) and to enforce a host-based security control - such as a denylist of private IP ranges, loopback addresses (127.x.x.x, ::1), or specific blocked domain names - by inspecting the raw URI host string before passing it to Guzzle. Applications that only fetch URIs they construct themselves are explicitly unaffected. The no_proxy routing bypass and RedirectMiddleware credential-stripping impact additionally require the application to configure proxy routing or rely on Guzzle's redirect handling for security-relevant header isolation. The IDN-based variant (Unicode hostname normalization) additionally requires libcurl to be built with IDN support or Guzzle's idn_conversion option enabled (off by default on both 7.x and 8.x branches). Exploitation is limited to denylists and private-range checks; applications using exact allowlists of canonical ASCII hostnames fail closed and are not affected.

Impact

The GHSA/NVD-assigned CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N yields a score of 7.2, reflecting unauthenticated network-reachable exploitation and a scope change enabling access to internal hosts. However, AC:L may overstate exploitability: successful attack requires the specific combination of an application accepting untrusted URI input and enforcing a host-based security control (denylist, private-range check) on the literal URI string - a pattern more consistent with AC:H in practice, as a standard URL-fetching feature without security-gating is not vulnerable. No EPSS data was provided in the source intelligence. The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept has been identified, keeping real-world exploitation theoretical at time of analysis. Risk is concentrated in applications implementing SSRF mitigations that rely on filter_var() or string comparison of the URI host; such protections are directly and completely bypassed by this technique. Applications fetching only self-constructed URIs are explicitly not affected per the advisory.

Exploit ScenarioDerived

An attacker submitting a user-controlled URL to a PHP application with a webhook or asset-fetching feature provides a URI such as http://127.0.0.%31/internal-api/secrets. The application's SSRF mitigation extracts the host '127.0.0.%31', passes it to filter_var() with FILTER_VALIDATE_IP, receives false (the percent-encoded form is not a valid IP literal), and permits the request. Guzzle forwards the raw URI to libcurl, which percent-decodes the host to 127.0.0.1, connects to loopback, and returns the internal service's response to the application and ultimately the attacker. No public exploit code has been identified, but the bypass technique - percent-encoding of IP address octets to defeat validator-level checks - is a well-understood SSRF research primitive.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 03, 2026

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.

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.

Affected VersionsENISA

guzzle < 7.15.2
guzzle 8.0.0, < 8.0.1

Affected Packages

composer guzzlehttp/guzzle fix: 7.15.2, 8.0.1
euvd guzzle fix: 7.15.2, 8.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Guzzle gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

2
Patch available
Aug 03, 2026 - 22:17 EUVD
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.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

GuzzleHttp Guzzle, a widely-used PHP HTTP client library, contains a host validation bypass (CVE-2026-69246, CVSS 7.2) that allows attackers to circumvent URL filtering safeguards and reach internal networks and loopback addresses that applications intended to block. Any organization whose applications rely on host-level SSRF protections before making HTTP requests via Guzzle faces immediate risk of unauthorized internal access. No vendor patch is currently available, requiring urgent interim network-level containment measures.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement: (1) network firewall rules explicitly blocking outbound connections from affected applications to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8) and loopback addresses; (2) network segmentation and security group policies to limit blast radius if SSRF exploitation occurs; (3) enhanced logging of DNS queries and outbound connections from affected systems to detect exploitation attempts; (4) temporary restrictions on acceptance of user-supplied URLs in high-risk applications pending patch deployment; (5) application-level validation combining IDNA-aware and percent-decoding-aware host checks before URL processing, though acknowledge such mitigations are incomplete without vendor patches addressing the underlying root cause.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
dominant PHP HTTP client, core dependency of Laravel, Symfony, Drupal
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Guzzle

View all
CVE-2026-69245 MEDIUM POC
6.5 Aug 03

Cookie domain scope bypass in Guzzle PHP HTTP client (prior to 7.15.2 and 8.0.1) allows improper cookie sharing via non-

CVE-2026-67354 HIGH
8.2 Aug 01

URI fragment leakage in guzzlehttp/guzzle's RedirectMiddleware (versions before 7.15.1) exposes sensitive client-side da

CVE-2026-67355 HIGH
8.2 Aug 01

Cookie scope leakage in guzzlehttp/guzzle before 7.15.1 allows an attacker controlling a child subdomain to receive host

CVE-2022-29248 HIGH
8.1 May 25

Guzzle is a PHP HTTP client. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticati

CVE-2022-31091 HIGH
7.7 Jun 27

Guzzle, an extensible PHP HTTP client. Rated high severity (CVSS 7.7), this vulnerability is remotely exploitable, low a

CVE-2022-31090 HIGH
7.7 Jun 27

Guzzle, an extensible PHP HTTP client. Rated high severity (CVSS 7.7), this vulnerability is remotely exploitable, low a

CVE-2022-31043 HIGH
7.5 Jun 10

Guzzle is an open source PHP HTTP client. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no

CVE-2022-31042 HIGH
7.5 Jun 10

Guzzle is an open source PHP HTTP client. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no

CVE-2026-67353 MEDIUM
6.9 Aug 01

Denial of service in guzzlehttp/guzzle versions before 7.15.1 allows a malicious or compromised upstream server to exhau

CVE-2026-67339 MEDIUM
6.9 Aug 01

Proxy-Authorization header leakage in guzzlehttp/guzzle before 7.14.2 allows origin servers to receive proxy credentials

CVE-2026-59882 MEDIUM
6.5 Jul 08

Host validation bypass in guzzlehttp/psr7 before 2.12.3 enables URI authority confusion attacks against PHP applications

CVE-2026-59883 MEDIUM POC
6.1 Jul 08

Cookie domain suffix-matching bypass in Guzzle PHP HTTP client (prior to 7.12.3) allows cross-host cookie disclosure, co

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