CVE-2026-48998
guzzlehttp/psr7 has Host Confusion via Authority Reinterpretation
Also known as GHSA-34xg-wgjx-8xph
Mitigation
- Upgrade guzzlehttp/psr7 to 2.10.2 or later.
Who should check
- Projects that depend on Packagist package guzzlehttp/psr7 (< 2.10.2)
- Anyone running guzzle psr7 < 2.10.2
Vulnerability facts
- Affected
- guzzlehttp/psr7 < 2.10.2
- Fixed in
- 2.10.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-20, CWE-918
- Modified
Description
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 `trusted.example@evil.example`. 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist guzzlehttp/psr7 | < 2.10.2 | 2.10.2 | osv |
| guzzle psr7 | < 2.10.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-48998. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-48998.md Affected: guzzlehttp/psr7 < 2.10.2 Fixed in: 2.10.2 Steps: 1. Search this machine and project for guzzlehttp/psr7 (Packagist), guzzle psr7: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-48998 being exploited?
There is no confirmed exploitation: CVE-2026-48998 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-48998?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-48998?
guzzlehttp/psr7 < 2.10.2.
Is there a fix for CVE-2026-48998?
Yes. Fixed in 2.10.2. Upgrade guzzlehttp/psr7 to 2.10.2 or later.
How do I check if I'm affected by CVE-2026-48998?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.