# CVE-2026-91766: Cross-origin credential leak in HTTP stream wrapper redirects

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-25 · Modified: 2026-09-28
- Aliases: UBUNTU-CVE-2026-91766, DEBIAN-CVE-2026-91766, ALPINE-CVE-2026-91766
- Record: https://cvemate.com/vulnerability/CVE-2026-91766 · JSON: https://cvemate.com/vulnerability/CVE-2026-91766/json

## Description

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

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.297%, percentile 24.049%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine php82 (Alpine Linux): \< 8.2.35-r0
- alpine php83 (Alpine Linux): \< 8.3.36-r0 \| \< 8.3.35-r0
- alpine php84 (Alpine Linux): \< 8.4.27-r0 \| \< 8.4.26-r0
- alpine php85 (Alpine Linux): \< 8.5.12-r0 \| \< 8.5.11-r0
- debian php8.2 (Debian): \< 8.2.34-1~deb12u1
- debian php8.4 (Debian): \< 8.4.26-1~deb13u1 \| \< 8.4.26-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded) \| \< 5.5.9+dfsg-1ubuntu4.29+esm17
- ubuntu php7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.33-0ubuntu0.16.04.16+esm21
- ubuntu php7.2 (Ubuntu): All versions (No fix recorded) \| \< 7.2.24-0ubuntu0.18.04.17+esm13
- ubuntu php7.4 (Ubuntu): All versions (No fix recorded) \| \< 7.4.3-4ubuntu2.29+esm4
- ubuntu php8.1 (Ubuntu): All versions (No fix recorded) \| \< 8.1.2-1ubuntu2.27
- ubuntu php8.3 (Ubuntu): All versions (No fix recorded) \| \< 8.3.6-0ubuntu0.24.04.12
- ubuntu php8.5 (Ubuntu): All versions (No fix recorded) \| \< 8.5.9-0ubuntu2 \| \< 8.5.4-0ubuntu1.4
- php group php: ≥ 8.2.\*, \< 8.2.34 \| ≥ 8.3.\*, \< 8.3.35 \| ≥ 8.4.\*, \< 8.4.26 \| ≥ 8.5.\*, \< 8.5.11
- php php: ≥ 8.2.0, \< 8.2.34 \| ≥ 8.3.0, \< 8.3.35 \| ≥ 8.4.0, \< 8.4.26 \| ≥ 8.5.0, \< 8.5.11

## References

- <https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92>
- <https://ubuntu.com/security/CVE-2026-91766>
- <https://www.cve.org/CVERecord?id=CVE-2026-91766>
- <https://github.com/php/php-src/blob/php-8.4.26/NEWS>
- <https://security-tracker.debian.org/tracker/CVE-2026-91766>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-91766>
- <https://ubuntu.com/security/notices/USN-8936-1>
- <https://security.alpinelinux.org/vuln/CVE-2026-91766>

---

Data as of 2026-12-05T03:01:26.450Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
