CVEfocus › CVE database › CVE-2026-48998

CVE-2026-48998guzzlehttp/psr7 has Host Confusion via Authority Reinterpretation

CVSS 5.3 MediumEPSS 0.3% (higher than 17% of CVEs)Published 2026-06-11Updated 2026-06-11Assigner: GitHub_M

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.

CWE-20CWE-918

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10php-guzzlehttp-psr7Fix pendingUBUNTU-CVE-2026-48998
Ubuntu 26.04php-guzzlehttp-psr7Under investigationUBUNTU-CVE-2026-48998
Ubuntu 25.10php-guzzlehttp-psr7Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48998
Ubuntu 24.04php-guzzlehttp-psr7Under investigationUBUNTU-CVE-2026-48998
Ubuntu 22.04php-guzzlehttp-psr7Fix pendingUBUNTU-CVE-2026-48998
Ubuntu 20.04php-guzzlehttp-psr7Fix pendingUBUNTU-CVE-2026-48998
Ubuntu 16.04php-guzzlehttp-psr7Fix pendingUBUNTU-CVE-2026-48998
Debian 14php-guzzlehttp-psr7Fixed2.10.3-1DEBIAN-CVE-2026-48998
Debian 13php-guzzlehttp-psr7Fixed2.7.1-1+deb13u1DEBIAN-CVE-2026-48998
Debian 12php-guzzlehttp-psr7Fixed2.4.5-1+deb12u1DEBIAN-CVE-2026-48998
Packagist libraryguzzlehttp/psr7Fixed2.10.2GHSA-34xg-wgjx-8xph

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.