CVE-2026-59882
guzzlehttp/psr7: Host Confusion via Weak URI Host Validation
- State
- Published
- Severity
- 4.2 Medium
- Published
- Jul 8, 2026
- Updated
- Jul 8, 2026
- Reserved
- Jul 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.2 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N | GitHub_M |
Weaknesses
- CWE-436 Interpretation Conflict
Affected Products
| Product | Versions |
|---|---|
psr7guzzle |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.