{"api_version":"1","generated_at":"2026-09-25T22:11:56+00:00","cve":"CVE-2026-91766","urls":{"html":"https://cve.report/CVE-2026-91766","api":"https://cve.report/api/cve/CVE-2026-91766.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-91766","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-91766"},"summary":{"title":"Cross-origin credential leak in HTTP stream wrapper redirects","description":"When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).","state":"PUBLISHED","assigner":"php","published_at":"2026-09-25 21:17:24","updated_at":"2026-09-25 21:17:24"},"problem_types":["CWE-200","CWE-522","CWE-200 CWE-200","CWE-522 CWE-522"],"metrics":[{"version":"3.1","source":"security@php.net","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92","name":"https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92","refsource":"security@php.net","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-91766","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91766","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.2.* 8.2.34 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.3.* 8.3.35 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.4.* 8.4.26 semver","platforms":[]},{"source":"CNA","vendor":"PHP Group","product":"PHP","version":"affected 8.5.* 8.5.11 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"@q2a3z (GitHub)","lang":"en"},{"source":"CNA","value":"Ilia Alshanetsky","lang":"en"},{"source":"CNA","value":"Alexandre Daubois","lang":"en"},{"source":"CNA","value":"Tim Düsterhus","lang":"en"},{"source":"CNA","value":"Arnaud Le Blanc","lang":"en"},{"source":"CNA","value":"Jakub Zelenka","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"ext-standard","product":"PHP","vendor":"PHP Group","versions":[{"lessThan":"8.2.34","status":"affected","version":"8.2.*","versionType":"semver"},{"lessThan":"8.3.35","status":"affected","version":"8.3.*","versionType":"semver"},{"lessThan":"8.4.26","status":"affected","version":"8.4.*","versionType":"semver"},{"lessThan":"8.5.11","status":"affected","version":"8.5.*","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"@q2a3z (GitHub)"},{"lang":"en","type":"reporter","value":"Ilia Alshanetsky"},{"lang":"en","type":"remediation developer","value":"Alexandre Daubois"},{"lang":"en","type":"remediation reviewer","value":"Tim Düsterhus"},{"lang":"en","type":"remediation reviewer","value":"Arnaud Le Blanc"},{"lang":"en","type":"remediation reviewer","value":"Jakub Zelenka"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>When the <code>http://</code> stream wrapper follows a redirect it forwards the user-supplied <code>Authorization</code>, <code>Cookie</code> and <code>Proxy-Authorization</code> headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 (<a title=\"CVE-2018-1000007\" href=\"https://github.com/advisories/GHSA-g7x2-hrfp-pv5f\">CVE-2018-1000007</a>).</p>"}],"value":"When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f )."}],"impacts":[{"descriptions":[{"lang":"en","value":"CWE-200"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-522","description":"CWE-522","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-25T20:40:25.040Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92"}],"source":{"discovery":"UNKNOWN"},"title":"Cross-origin credential leak in HTTP stream wrapper redirects","x_generator":{"engine":"Vulnogram 1.0.5"}}},"cveMetadata":{"assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","assignerShortName":"php","cveId":"CVE-2026-91766","datePublished":"2026-09-25T20:40:25.040Z","dateReserved":"2026-09-15T00:38:24.146Z","dateUpdated":"2026-09-25T20:40:25.040Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 21:17:24","lastModifiedDate":"2026-09-25 21:17:24","problem_types":["CWE-200","CWE-522","CWE-200 CWE-200","CWE-522 CWE-522"],"metrics":{"cvssMetricV31":[{"source":"security@php.net","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"91766","Ordinal":"1","Title":"Cross-origin credential leak in HTTP stream wrapper redirects","CVE":"CVE-2026-91766","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"91766","Ordinal":"1","NoteData":"When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).","Type":"Description","Title":"Cross-origin credential leak in HTTP stream wrapper redirects"}]}}}