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 ).
Published: 2026-09-25
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Credential Leakage via Unchecked Redirects
Action: Assess Impact
AI Analysis

Impact

The vulnerability allows PHP’s http:// stream wrapper to forward Authorization, Cookie, and Proxy-Authorization headers across redirects to a different host, port, or when downgrading from HTTPS to HTTP. This can result in credentials intended for an original origin being unintentionally sent to an attacker-controlled target, exposing sensitive authentication data.

Affected Systems

PHP Group’s PHP implementation is affected. No specific product versions are listed, so all PHP installations that use the http:// stream wrapper are potentially impacted until a fix is applied.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate threat level. No EPSS score is reported, and the issue is not yet listed in the CISA KEV catalog. An attacker with the ability to force an application to redirect to a malicious URL can exploit this flaw to steal credentials. The risk remains contingent on whether the redirect target can be influenced for a given deployment.

Generated by OpenCVE AI on September 26, 2026 at 01:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest PHP release where this issue is fixed.
  • If an immediate upgrade is not possible, configure PHP to strip Authorization, Cookie, and Proxy-Authorization headers when following redirects or disable automatic redirect following.
  • Continuously monitor PHP security advisories and apply any patch that addresses this redirect header leakage.

Generated by OpenCVE AI on September 26, 2026 at 01:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4819-1 php8.2 security update
Debian DSA Debian DSA DSA-6514-1 php8.4 security update
History

Mon, 28 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Php Group
Php Group php
Vendors & Products Php Group
Php Group php

Sat, 26 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 25 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
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 ).
Title Cross-origin credential leak in HTTP stream wrapper redirects
Weaknesses CWE-200
CWE-522
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2026-09-28T13:31:31.921Z

Reserved: 2026-09-15T00:38:24.146Z

Link: CVE-2026-91766

cve-icon Vulnrichment

Updated: 2026-09-28T13:24:47.958Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-25T21:17:24.673

Modified: 2026-09-29T21:27:41.130

Link: CVE-2026-91766

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T20:40:25Z

Links: CVE-2026-91766 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T08:30:02Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-201

    Insertion of Sensitive Information Into Sent Data

  • CWE-522

    Insufficiently Protected Credentials