Skip to content

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

MediumCVSS 5.3 EPSS 0.20% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

10 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/php-guzzlehttp-psr7(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/php-guzzlehttp-psr7(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/php-guzzlehttp-psr7(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/php-guzzlehttp-psr7(Ubuntu 26.10) All versions No fix listed No fix yet
debian/php-guzzlehttp-psr7(Debian 12) < 2.4.5-1+deb12u1; = 2.4.5-1 2.4.5-1+deb12u1 Fixed
debian/php-guzzlehttp-psr7(Debian 13) < 2.7.1-1+deb13u1; = 2.7.1-1 2.7.1-1+deb13u1 Fixed
debian/php-guzzlehttp-psr7(Debian 14) < 2.10.3-1; = 2.7.1-1; = 2.8.0-1; = 2.8.0-2 +2 more 2.10.3-1 Fixed
guzzlehttp/psr7(Packagist) < 2.10.2; = 1.0.0; = 1.1.0; = 1.2.0 +52 more 2.10.2 Fixed
guzzlephp psr-7 < 2.10.2 2.10.2 Fixed
guzzle psr7 = < 2.10.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
guzzlehttp/psr7(Packagist) < 2.10.2 2.10.2
guzzlehttp/psr7(Packagist) = 1.0.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.1.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.2.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.2.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.2.2 No fix listed
guzzlehttp/psr7(Packagist) = 1.2.3 No fix listed
guzzlehttp/psr7(Packagist) = 1.3.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.3.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.4.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.4.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.4.2 No fix listed
guzzlehttp/psr7(Packagist) = 1.5.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.5.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.5.2 No fix listed
guzzlehttp/psr7(Packagist) = 1.6.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.6.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.7.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.0 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.1 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.2 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.3 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.4 No fix listed
guzzlehttp/psr7(Packagist) = 1.8.5 No fix listed
guzzlehttp/psr7(Packagist) = 1.9.0 No fix listed
Show 47 more
ProductAffected versionsFixed in
guzzlehttp/psr7(Packagist) = 1.9.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.0.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.0.0-beta1 No fix listed
guzzlehttp/psr7(Packagist) = 2.0.0-rc1 No fix listed
guzzlehttp/psr7(Packagist) = 2.1.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.1.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.1.2 No fix listed
guzzlehttp/psr7(Packagist) = 2.10.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.10.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.2.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.2.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.2.2 No fix listed
guzzlehttp/psr7(Packagist) = 2.3.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.2 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.3 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.4 No fix listed
guzzlehttp/psr7(Packagist) = 2.4.5 No fix listed
guzzlehttp/psr7(Packagist) = 2.5.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.5.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.6.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.6.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.6.2 No fix listed
guzzlehttp/psr7(Packagist) = 2.6.3 No fix listed
guzzlehttp/psr7(Packagist) = 2.7.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.7.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.8.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.8.1 No fix listed
guzzlehttp/psr7(Packagist) = 2.9.0 No fix listed
guzzlehttp/psr7(Packagist) = 2.9.1 No fix listed
guzzle psr7 = < 2.10.2 No fix listed
debian/php-guzzlehttp-psr7(Debian:12) < 2.4.5-1+deb12u1 2.4.5-1+deb12u1
debian/php-guzzlehttp-psr7(Debian:12) = 2.4.5-1 No fix listed
debian/php-guzzlehttp-psr7(Debian:13) < 2.7.1-1+deb13u1 2.7.1-1+deb13u1
debian/php-guzzlehttp-psr7(Debian:13) = 2.7.1-1 No fix listed
debian/php-guzzlehttp-psr7(Debian:14) < 2.10.3-1 2.10.3-1
debian/php-guzzlehttp-psr7(Debian:14) = 2.7.1-1 No fix listed
debian/php-guzzlehttp-psr7(Debian:14) = 2.8.0-1 No fix listed
debian/php-guzzlehttp-psr7(Debian:14) = 2.8.0-2 No fix listed
debian/php-guzzlehttp-psr7(Debian:14) = 2.9.0-1 No fix listed
debian/php-guzzlehttp-psr7(Debian:14) = 2.9.0-2 No fix listed
ubuntu/php-guzzlehttp-psr7(Ubuntu:22.04) All versions No fix listed
ubuntu/php-guzzlehttp-psr7(Ubuntu:24.04) All versions No fix listed
ubuntu/php-guzzlehttp-psr7(Ubuntu:26.04) All versions No fix listed
ubuntu/php-guzzlehttp-psr7(Ubuntu:26.10) All versions No fix listed
guzzlephp psr-7 < 2.10.2 2.10.2

References