Vendors › PHP

CVE-2026-91766

Medium (5.9) EPSS 0.3% PHP · standard

Cross-origin credential leak in HTTP stream wrapper redirects

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.

Published2026-09-24
Updated2026-09-25
AffectedPHP versions < 8.2.34; PHP versions < 8.3.35; PHP versions < 8.4.26; PHP versions < 8.5.11
FixUpgrade to 8.2.34, 8.3.35, 8.4.26, 8.5.11 (first fixed release per supported branch).
CVEMesh analysisThe vulnerability is a security issue where a website can steal sensitive information like passwords and cookies from another website by tricking the user into following a link. The advisory does not state exploitation conditions. The most important action is to upgrade to PHP version 8.2.34, 8.3.35, 8.4.26, or 8.5.11 to fix the issue.
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-91766CWE-200;CWE-522OtherInformation LeakNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.