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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580 Patch
- https://github.com/guzzle/psr7/pull/811 Issue Tracking, Patch
- https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98 Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.5 · guzzlephpNVD modified 2026-10-25 17:10
Affected (CPE criteria) 1
cpe:2.3:a:guzzlephp:psr-7:*:*:*:*:*:*:*:*
References 4
- https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580 Patch
- https://github.com/guzzle/psr7/pull/811 Issue Tracking, Patch
- https://github.com/guzzle/psr7/releases/tag/2.12.3 Product, Release Notes
- https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98 Mitigation, Vendor Advisory