{"id":"CVE-2026-91766","summary":"Cross-origin credential leak in HTTP stream wrapper redirects","details":"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 ).","aliases":["BIT-libphp-2026-91766","BIT-php-2026-91766","BIT-php-min-2026-91766","GHSA-fpwc-w8rq-cr92"],"modified":"2026-11-04T10:45:23.491186346Z","published":"2026-09-25T20:40:25.040Z","related":["ALSA-2026:87080","SUSE-SU-2026:24158-1","SUSE-SU-2026:4602-1","SUSE-SU-2026:4603-1","SUSE-SU-2026:4651-1","SUSE-SU-2026:4853-1","openSUSE-SU-2026:11901-1","openSUSE-SU-2026:22045-1"],"database_specific":{"cna_assigner":"php","cwe_ids":["CWE-200","CWE-522"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91766.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91766.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91766"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"0be211a0cf752780881a9611224f8adc516af573"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"2d3433d24d59f45703be2b4fb40d74e5a41b136b"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"c31ae58ecbedc7a85dac0eee5a6a88da73543e70"},{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"678778973bb4d4185c06ef1320de50f1a975d3c8"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"8.2.0"},{"fixed":"8.2.34"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","range":[{"introduced":"8.3.0"},{"fixed":"8.3.35"}]},{"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","range":[{"introduced":"8.4.0"},{"fixed":"8.4.26"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","range":[{"introduced":"8.5.0"},{"fixed":"8.5.11"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-91766.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}