{"id":"CVE-2026-59882","state":"PUBLISHED","title":"guzzlehttp/psr7: Host Confusion via Weak URI Host Validation","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.","publishedAt":"2026-07-08T15:50:03.077Z","updatedAt":"2026-07-08T17:00:22.945Z","severity":{"score":4.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["guzzle psr7"],"affected":[{"vendor":"guzzle","product":"psr7","versions":[{"version":"< 2.12.3","status":"affected"}]}],"references":["https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98","https://github.com/guzzle/psr7/pull/811","https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580","https://github.com/guzzle/psr7/releases/tag/2.12.3"],"weaknesses":["CWE-436"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59882.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59882","state":"PUBLISHED","datePublished":"2026-07-08T15:50:03.077Z","dateUpdated":"2026-07-08T17:00:22.945Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T16:40:07.982Z"},"containers":{"cna":{"title":"guzzlehttp/psr7: Host Confusion via Weak URI Host Validation","descriptions":[{"lang":"en","value":"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":[{"vendor":"guzzle","product":"psr7","versions":[{"version":"< 2.12.3","status":"affected"}]}],"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98","name":"https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/guzzle/psr7/pull/811","name":"https://github.com/guzzle/psr7/pull/811","tags":["x_refsource_MISC"]},{"url":"https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580","name":"https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580","tags":["x_refsource_MISC"]},{"url":"https://github.com/guzzle/psr7/releases/tag/2.12.3","name":"https://github.com/guzzle/psr7/releases/tag/2.12.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","lang":"en","description":"CWE-436: Interpretation Conflict","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T15:50:03.077Z"},"source":{"advisory":"GHSA-c2w2-prh8-qm98","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T16:50:26.023312Z","id":"CVE-2026-59882","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T17:00:22.945Z"}}]}}}