CVE-2026-59882 json
guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
published 2026-07-08 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42319 , GHSA-c2w2-prh8-qm98
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist guzzlehttp/psr7 2.12.3
- guzzlephp psr-7 2.12.3
- php-guzzlehttp-psr7 Debian 14 2.12.3-1
debian advisories DEBIAN-CVE-2026-59882
- github.com/guzzle/psr7@ddd64f1 commit
- github.com/guzzle/psr7#811 pull request
- github.com/guzzle/psr7/releases/tag/2.12.3 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59882 updated cvss 4.2
guzzlehttp/psr7: guzzlehttp/psr7: URI host validation flaw can lead to security bypass or misrouting
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | guzzlehttp/psr7 | <2.12.3 |
2.12.3 |
Affected products
- guzzle psr7
Classification
References
-
github.com
/guzzle/psr7/pull/811
web, issue-tracking, patch
-
github.com
/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580
web, patch
-
github.com
/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98
web, mitigation, vendor-advisory
-
github.com
/guzzle/psr7/releases/tag/2.12.3
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-59882
advisory
-
github.com
/guzzle/psr7
package
Sources
- CVE List CVE-2026-59882
- GitHub Advisory GHSA-c2w2-prh8-qm98
- NVD CVE-2026-59882
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.