CVE-2026-91766: Cross-origin credential leak in HTTP stream wrapper redirects
CVE-2026-91766 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 5.9 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N· base score 5.9, scored by phpAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: none. Availability impact: none.- Weakness
- CWE-200
- CWE-522
- EPSS
- 0.30% chance of exploitation in the next 30 days (22nd percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: 7.58.0, php:7.4-8100020261021081045.f7998665, php-main-8.5.11-2.hum1, RHSA-2026:87080, RHSA-2026:70720
- Assigned by
- php (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-91766; each belongs to its advisory, not to every product listed. How records are collected and checked.
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 the CVE.org record (php).
How do I fix CVE-2026-91766?
Upgrade to a fixed release named by the vendor:
- Red Hat: 7.58.0, php:7.4-8100020261021081045.f7998665, php-main-8.5.11-2.hum1, RHSA-2026:87080, RHSA-2026:70720
- Avoid placing long-lived credentials in HTTP stream context headers when follow_location is enabled; prefer short-lived tokens and same-origin redirect expectations. Restrict outbound HTTP(S) destinations from PHP applications to trusted hosts. (Red Hat)
Vendor advisories for CVE-2026-91766
NetApp
1 advisory- Advisory severityHigh7.5
High [CVE-2026-91765 +3] September 2026 PHP Vulnerabilities in NetApp Products
NTAP-20261119-0011Source published Source updated
This bulletin covers 4 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
PHP versions 8.2.0 prior to 8.2.34, 8.3.0 prior to 8.3.35, 8.4.0 prior to 8.4.26, and 8.5.0 prior to 8.5.11 are susceptible to vulnerabilities which when successfully exploited could lead to various impacts including disclosure of sensitive information and Denial of Service (DoS). NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 8.2.0
- 8.2.34
- 8.3.0
- 8.3.35
4 more entries in the full advisory.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityMedium5.9
Medium [CVE-2026-91766] Credential disclosure via cross-origin HTTP redirects
CVE-2026-91766Source published Source updated
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 ). A flaw was found in PHP. A malicious server capable of steering redirects can exploit this flaw to capture sensitive credentials intended only for the original destination. This vulnerability is rated Moderate because PHP's HTTP stream wrapper can forward Authorization, Cookie, and Proxy-Authorization headers across cross-origin redirects, exposing…
- Affected products in this advisory
- Red Hat Enterprise Linux 8
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
3 more entries in the full advisory.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- 7.58.0
- php:7.4-8100020261021081045.f7998665
- php-main-8.5.11-2.hum1
- RHSA-2026:87080
1 more entries in the full advisory.
- Mitigation guidance
- Avoid placing long-lived credentials in HTTP stream context headers when follow_location is enabled; prefer short-lived tokens and same-origin redirect expectations. Restrict outbound HTTP(S) destinations from PHP applications to trusted hosts.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More NetApp advisories
CVE-2026-123862Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-114949Nov 20, 2026November 2026 MySQL Vulnerabilities in NetApp ProductsCVE-2026-123863Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123828Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123863Nov 20, 2026Node.js Vulnerability in NetApp ProductsCVE-2026-123868Nov 20, 2026Node.js Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.