{"id":"CVE-2026-59882","published":"2026-07-08T15:50:03Z","modified":"2026-07-08T17:00:22Z","title":"guzzlehttp/psr7: Host Confusion via Weak URI Host Validation","vendor":"guzzle","product":"psr7","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00317,"percentile":0.25309,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/guzzle/psr7/pull/811","tags":["x_refsource_MISC"]},{"url":"https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580","tags":["x_refsource_MISC"]},{"url":"https://github.com/guzzle/psr7/releases/tag/2.12.3","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":5.06},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"guzzle","affectedVersions":[{"vendor":"guzzle","product":"psr7","versions":["< 2.12.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T16:50:26.023312Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"guzzlehttp/psr7","vulnerableRanges":["<2.12.3"],"patched":["2.12.3"],"from":["GHSA-c2w2-prh8-qm98"],"provenance":"source"}],"summary":{"text":"The guzzlehttp/psr7 PHP PSR-7 HTTP message library fails to reject URI host components containing authority delimiters, embedded ports, or malformed IPv6 brackets in Uri::assertValidHost(), so Uri::getHost() can return a value that disagrees with the authority used for security or routing decisions. An attacker can exploit this over the network when a user interacts with a crafted URI, with the conditions of high attack complexity and no authentication required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:29Z"},"euvd":{"id":"EUVD-2026-42319","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48998","published":"2026-06-11","fixed":"2.10.2","kev":false},{"cve":"CVE-2026-49214","published":"2026-06-11","fixed":"2.10.2","kev":false},{"cve":"CVE-2026-55766","published":"2026-06-23","fixed":"2.12.1","kev":false,"link":{"from":"CVE-2026-55766","to":"CVE-2026-59882","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:guzzlehttp/psr7","fromFixed":"2.12.1","toFixed":"2.12.3","daysApart":15}]}},{"cve":"CVE-2026-59882","published":"2026-07-08","fixed":"2.12.3","kev":false}],"package":"Packagist:guzzlehttp/psr7"}}