CVE-2026-59882
published medium CVSS 3.1 · 4.2guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| guzzle | — | psr7< 2.12.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| guzzle | psr7 | < 2.12.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
4Provider assertions
2GitHub_M · cna
guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecc4b4f0830fadb1b6ee5d109a6c70ff18101b36bc333c9ca470dc114d2cb395
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record