CVE-2026-91766
Cross-origin credential leak in HTTP stream wrapper redirects
Reported by php · Published September 25, 2026
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 ).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.4-pdo | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php-soap-debuginfo | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.src, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php-debuginfo | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php-bcmath | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php-pecl-rrd | errata.rockylinux.org | 2.0.1-1.module, 0:2.0.1-1.module+el8.10.0+1912+72767185.x86_64, 0:2.0.1-1.module+el8.10.0+1912+72767185.src, 0:2.0.1-1.module+el8.10.0+1912+72767185.aarch64, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.src, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.aarch64, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.x86_64, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.src, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.aarch64 |
| php-intl-debuginfo | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php-pear | errata.rockylinux.org | 1.10.13-1.module, 1:1.10.13-1.module+el8.10.0+1912+72767185.src, 1:1.10.13-1.module+el8.10.0+1912+72767185.noarch, 1:1.10.13-1.module+el8.10.0+1605+02e07af7.src, 1:1.10.13-1.module+el8.10.0+1605+02e07af7.noarch, 1:1.10.13-1.module+el8.10.0+1604+6558efc7.src, 1:1.10.13-1.module+el8.10.0+1604+6558efc7.noarch |
| libzip-tools-debuginfo | errata.rockylinux.org | 1.6.1-1.module, 0:1.6.1-1.module+el8.10.0+1912+72767185.x86_64, 0:1.6.1-1.module+el8.10.0+1912+72767185.aarch64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.x86_64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.2-xml | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php84 | Alpine | 8.4.27-r0, 8.4.26-r0 |
| php8.3-ffi | Amazon Linux | 8.3.35-1.amzn2023.0.1 |
76 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.2.*, 8.3.*, 8.4.* |
| amazon:2023 | php8.4-pdo | 0 |
| amazon:2023 | php8.2-xml | 0 |
| alpine | php84 | 0, 0 |
| amazon:2023 | php8.3-ffi | 0 |
| amazon:2023 | php8.3-intl | 0 |
| amazon:2023 | php8.3-soap | 0 |
| amazon:2023 | php8.3-mbstring | 0 |
| amazon:2023 | php8.5-bcmath | 0 |
| amazon:2023 | php8.3-cli | 0 |
| amazon:2023 | php8.2-soap | 0 |
| amazon:2023 | php8.2-bcmath | 0 |
| amazon:2023 | php8.4-dbg | 0 |
| amazon:2023 | php8.5-gmp | 0 |
| amazon:2023 | php8.4-modphp | 0 |
| amazon:2023 | php8.4-opcache | 0 |
| amazon:2023 | php8.5-sodium | 0 |
| amazon:2023 | php8.3 | 0 |
| amazon:2023 | php8.4-bcmath | 0 |
| amazon:2023 | php8.5-fpm | 0 |
…and 102 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (19 in total, the first dated here)
- Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
- Oct 21, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-91766
vulnetix vdb fixes CVE-2026-91766
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-91766/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart