Home › Vulnerabilities › guzzle
Guzzle batch covers two medium-severity flaws: URI fragment disclosure and SSRF host check bypass
NVD published two Guzzle vulnerabilities together on 2026-12-04, both rated MEDIUM (CVSS 6.3). One can expose URI fragment secrets to a proxy or receiving server, and the other can let a crafted URI bypass application host and port checks in StreamHandler.
What to look into
- 2 vulnerabilities in guzzle: 2 medium (CVSS up to 6.3).
- None of them is known to be exploited yet.
- Start with CVE-2026-145096 (6.3 medium): Guzzle before 7.16.3 and 8.5.2 contains an information disclosure vulnerability that allows proxies or origin servers to receive URI fragments by StreamHandler passing unstripped URIs to fopen(). Whe… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
- Kinds of flaws: Insertion of Sensitive Information Into Sent Data; Interpretation Conflict.
Key points
- Two MEDIUM (CVSS 6.3) Guzzle flaws, both affecting versions before 7.16.3
- CVE-2026-145096 can leak URI fragment secrets when http.requestfulluri is enabled
- CVE-2026-145047 allows SSRF by bypassing application host and port checks
- The records do not say whether either issue is exploited
NVD published two Guzzle records on 2026-12-04, both rated MEDIUM with a CVSS score of 6.3. Both concern how Guzzle's StreamHandler passes request URIs to PHP's stream transport, and both are stated to affect versions before 7.16.3.
The first, CVE-2026-145096, is an information disclosure flaw. StreamHandler passes unstripped URIs to fopen(), so URI fragments can reach a proxy or origin server when the http.requestfulluri stream context option is enabled. According to the record, an attacker operating that proxy or receiving server could capture fragment secrets such as one-time login tokens, access tokens, or state values. The record names Guzzle 8.5.2 as a fixed version for this issue.
The second, CVE-2026-145047, is a server-side request forgery (SSRF) weakness. Guzzle accepts bracketed 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. Someone who can influence a fetched URI or redirect target could bypass host and port checks and reach excluded loopback hosts or ports through StreamHandler.
The records do not state whether either flaw has been exploited. They also give no workaround or detection guidance.
What to do
- Upgrade Guzzle 7.x installations to 7.16.3 or later, the version both records name as the fix boundary.
- For Guzzle 8.x, use 8.5.2 or later, the fixed version named for CVE-2026-145096.
- Review application code that relies on Uri::getHost() and Uri::getPort() for outbound request checks, since the records say those values can differ from the host PHP connects to.
The 2 vulnerabilities
- CVE-2026-145096 6.3 Guzzle before 7.16.3 and 8.5.2 contains an information disclosure vulnerability that allows proxies or origin servers to receive URI fragments by StreamHandler passing unstripped URIs to fopen(). When the http.requestfulluri streamcontext…
- CVE-2026-145047 6.3 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…
Frequently asked questions
How many guzzle vulnerabilities were published on December 4, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 6.3.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-145096 (CVSS 6.3): Guzzle before 7.16.3 and 8.5.2 contains an information disclosure vulnerability that allows proxies or origin servers to receive URI fragments by StreamHandler passing unstripped URIs to fopen(). Whe…