Read the docs
TI-2026-36252 Aliases CVE-2026-48998GHSA-34xg-wgjx-8xph

guzzlehttp/psr7 has Host Confusion via Authority Reinterpretation

Priority LOW 29CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.

Summary

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Versions prior to 2.10.2 contain improper Host header validation when parsing raw HTTP request messages and when deriving a server request URI from server variables. An attacker can provide a malformed Host header containing URI authority delimiters, such as `[email protected]`. When the Host value is used to construct a URI, the malformed value can be reinterpreted as URI userinfo and host. This can cause the PSR-7 request URI host to differ from the original Host header value. Applications are affected if they parse attacker-controlled raw HTTP requests with `GuzzleHttp\Psr7\Message::parseRequest()` or the legacy 1.x `GuzzleHttp\Psr7\parse_request()` function, or if they build server requests from attacker-controlled server variables, then rely on the resulting URI host for routing, allow-list checks, or forwarding decisions. In affected forwarding or gateway scenarios, this may cause requests or credentials to be sent to an unintended host. The issue is patched in `2.10.2`. `1.x` is end-of-life and will not receive a patch. Some workarounds are available. Validate the `Host` header as `uri-host [ ":" port ]` before calling `Message::parseRequest()` or legacy `parse_request()` on untrusted HTTP request data, or before deriving routing and forwarding decisions from a parsed request URI. Reject Host values containing userinfo, path, query, or fragment delimiters.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00198 9th percentileScored 2026-11-07
Fix Fixed psr7 (guzzle): 2.10.2guzzlehttp/psr7 (Packagist): 2.10.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
guzzlepsr7before 2.10.22.10.2Patch availableCNA
—guzzlehttp/psr7 (Packagist)before 2.10.22.10.2Patch availableGHSA-34xg-wgjx-8xph
  • psr7 Vendorguzzle Affected before 2.10.2 Fixed in 2.10.2 Patch available CNA
  • guzzlehttp/psr7 (Packagist) Vendor— Affected before 2.10.2 Fixed in 2.10.2 Patch available GHSA-34xg-wgjx-8xph

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*before 2.10.2Vulnerableguzzle
  • cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:* Versions before 2.10.2 Vulnerable ·guzzle

Remediation

  • Fix · CNA psr7 (guzzle) Fixed in 2.10.2
  • Fix · GHSA-34xg-wgjx-8xph guzzlehttp/psr7 (Packagist) Fixed in 2.10.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48998
  2. 2026-10-03 Alias added: GHSA-34xg-wgjx-8xph

References

  • TI-2022-08589 Improper Input Validation in guzzlehttp/psr7 CVSS 3.1HIGH 7.5
  • TI-2023-13898 Laminas Diactoros vulnerable to HTTP Multiline Header Termination CVSS 3.1HIGH 7.5
  • TI-2023-13625 Improper header name validation in guzzlehttp/psr7 CVSS 3.1HIGH 7.5
  • TI-2026-42696 guzzlehttp/psr7: Host Confusion via Weak URI Host Validation CVSS 3.1MEDIUM 6.5
  • TI-2026-36415 guzzlehttp/psr7 has CRLF Injection via URI Host Component CVSS 3.1MEDIUM 5.3
  • TI-2026-40255 guzzlehttp/psr7: CRLF Injection in HTTP Start-Line Serialization CVSS 3.1MEDIUM 4.8

Sources