What’s Vulnerable › Vulnerabilities

CVE-2026-59882: guzzlehttp/psr7: Host Confusion via Weak URI Host Validation

Description

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.3, Uri::assertValidHost() does not reject URI host components containing authority delimiters, embedded ports, or malformed IPv6 brackets, allowing Uri::getHost() to disagree with the URI authority used for security or routing decisions. This issue is fixed in version 2.12.3.

Affected products

How to fix

Upgrade to a fixed version: Guzzlephp Psr-7 2.12.3; Packagist Guzzlehttp/Psr7 2.12.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59882 or the next vulnerability affects your stack