CVE-2026-91766: When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Pro
CVE-2026-91766 is a medium-severity flaw (CVSS 5.9) affecting php. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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://
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Advisories and coverage
Official advisories
- Amazon Linux 2023 ALAS: ALAS2023-2026-3161 (important): php8.2 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3162 (important): php8.3 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3163 (important): php8.4 2026-10-12
- Amazon Linux 2023 ALAS: ALAS2023-2026-3164 (important): php8.5 2026-10-12
- Amazon Linux 2 ALAS: ALAS2PHP8.2-2026-014 (important): php 2026-10-12
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-91766?
php: upgrade to 8.2.34, 8.3.35, 8.4.26, 8.5.11. Exact commands for each OS are on this page.
Is CVE-2026-91766 being exploited?
CVE-2026-91766 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-91766 affect?
CVE-2026-91766 affects php. Severity is medium (CVSS 5.9). 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
How urgent is CVE-2026-91766?
Priority 37/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · curl vulnerabilities
Related CVEs
- CVE-2026-17544 CRITICAL 9.8 UPGRADE Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PH
- CVE-2026-17543 CRITICAL 9.8 UPGRADE Improper escaping of backslashes in attacker-provided parameters would allow for trivial SQL injection in PHP
- CVE-2026-7260 MEDIUM 5.5 UPGRADE Circular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and crashin
- CVE-2026-109618 CRITICAL 9.8 UPGRADE MITIGATE PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the reques
- CVE-2026-109619 HIGH 8.1 UPGRADE MITIGATE PHP has various global state that temporarily points into request memory