guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
cve-program · CVE-2026-59882
Publishedguzzlehttp/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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-59882 · CVE overview and exploitation status
cve-program · CVE-2026-59882
Related changes
Linked by CVE identifierNo related changes are available here.