CVE-2026-59882
MEDIUMguzzlehttp/psr7: Host Confusion via Weak URI Host Validation
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98
X_Refsource_Misc x_refsource_misc
https://github.com/guzzle/psr7/pull/811
X_Refsource_Misc x_refsource_misc
https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580
X_Refsource_Misc x_refsource_misc
https://github.com/guzzle/psr7/releases/tag/2.12.3
Scores
CVSS v3
4.2
EPSS
0.0019
EPSS Percentile
8.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-436
Status
published
Products (3)
guzzle/psr7
< 2.12.3
guzzlehttp/psr7
0 - 2.12.3Packagist
guzzlephp/psr-7
< 2.12.3
Published
Jul 08, 2026
Tracked Since
Jul 08, 2026