All vulnerabilities
CVE-2026-91766GHSA-fpwc-w8rq-cr92

PHP: Cross-origin credential leak in HTTP stream wrapper redirects

PHP Group PHPRuntimes & languages
CVSS
5.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.34%Chance of exploitation activity in the next 30 days, higher than 26% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in8.2.34Also 8.3.35, 8.4.26 and 1 moreCVE List
Published25 Sep 2026Updated 28 Sep 2026CVE List

What fixes it

Show all 8 fixed versions

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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 ).

Text from CVE List

Affected versions 8

  • PHPaffected: 8.2.* before 8.2.34CVE List
  • PHPaffected: 8.3.* before 8.3.35CVE List
  • PHPaffected: 8.4.* before 8.4.26CVE List
  • PHPaffected: 8.5.* before 8.5.11CVE List
  • ext-standard, php<8.2.34GitHub
  • ext-standard, php<8.3.35GitHub
  • ext-standard, php<8.4.26GitHub
  • ext-standard, php<8.5.11GitHub

References 1