VDB

CVE-2026-91766

CVE-2026-91766 PUBLISHED CVSS 5.9 MEDIUM

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.

PackageEcosystemFixed in
php8.4-pdoAmazon Linux8.4.26-1.amzn2023.0.1
php-soap-debuginfoerrata.rockylinux.org7.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
phperrata.rockylinux.org7.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-debuginfoerrata.rockylinux.org7.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-bcmatherrata.rockylinux.org7.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-rrderrata.rockylinux.org2.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-debuginfoerrata.rockylinux.org7.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-pearerrata.rockylinux.org1.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-debuginfoerrata.rockylinux.org1.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-xmlAmazon Linux8.2.34-1.amzn2023.0.1
php84Alpine8.4.27-r0, 8.4.26-r0
php8.3-ffiAmazon Linux8.3.35-1.amzn2023.0.1

76 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
PHP GroupPHP8.2.*, 8.3.*, 8.4.*
amazon:2023php8.4-pdo0
amazon:2023php8.2-xml0
alpinephp840, 0
amazon:2023php8.3-ffi0
amazon:2023php8.3-intl0
amazon:2023php8.3-soap0
amazon:2023php8.3-mbstring0
amazon:2023php8.5-bcmath0
amazon:2023php8.3-cli0
amazon:2023php8.2-soap0
amazon:2023php8.2-bcmath0
amazon:2023php8.4-dbg0
amazon:2023php8.5-gmp0
amazon:2023php8.4-modphp0
amazon:2023php8.4-opcache0
amazon:2023php8.5-sodium0
amazon:2023php8.30
amazon:2023php8.4-bcmath0
amazon:2023php8.5-fpm0

…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

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›