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
guzzlephp: psr-7
References4
- github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98 MitigationVendor Advisory
- github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec722… Patch
- github.com/guzzle/psr7/pull/811 Issue TrackingPatch
- github.com/guzzle/psr7/releases/tag/2.12.3 ProductRelease Notes
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 25 · as of 15 November 2026
- CWE
- CWE-436
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.