Medium severity4.2OSV Advisory· Published Jul 8, 2026· Updated Jul 17, 2026
CVE-2026-59882
CVE-2026-59882
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
guzzlehttp/psr7Packagist | < 2.12.3 | 2.12.3 |
Affected products
3Patches
Vulnerability mechanics
References
6- github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580nvdPatchWEB
- github.com/guzzle/psr7/pull/811nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-c2w2-prh8-qm98ghsaADVISORY
- github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98nvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-59882ghsaADVISORY
- github.com/guzzle/psr7/releases/tag/2.12.3nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.