{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59882","id":"CVE-2026-59882","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.","descriptionLong":"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.","published":"2026-07-08T15:50:03.077Z","updated":"2026-10-28T02:30:36.636481338Z","reserved":"2026-07-07T16:40:07.982Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["guzzle psr7"],"affectedProducts":[{"vendor":"guzzle","product":"psr7","defaultStatus":null,"versions":[{"version":"< 2.12.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"guzzlehttp/psr7","purl":"pkg:composer/guzzlehttp/psr7","ranges":["<2.12.3"],"fixed":["2.12.3"],"advisory":"GHSA-c2w2-prh8-qm98"}],"cwes":["CWE-436","CWE-20"],"aliases":["GHSA-c2w2-prh8-qm98"],"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-c2w2-prh8-qm98","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/guzzle/psr7/pull/811","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/guzzle/psr7/commit/ddd64f17d4cc1f7e5ffe6fd2c989ec7221712580","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/guzzle/psr7/releases/tag/2.12.3","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59882.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59882","tags":["advisory"]},{"url":"https://github.com/guzzle/psr7","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00317,"epssPercentile":0.25178,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59882","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59882","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59882","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c2w2-prh8-qm98","ok":true,"note":"GHSA-c2w2-prh8-qm98"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59882","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}