Vulnerabilities

CVE-2026-91766

Medium 5.9 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2026-09-25
Last modified
2026-10-23
Assigned by
security@php.net
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Php Php ≥ 8.2.0, < 8.2.34 Affected
Php Php ≥ 8.3.0, < 8.3.35 Affected
Php Php ≥ 8.4.0, < 8.4.26 Affected
Php Php ≥ 8.5.0, < 8.5.11 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1007: System Service Discovery discovery
  • T1016: System Network Configuration Discovery discovery
  • T1018: Remote System Discovery discovery
  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1033: System Owner/User Discovery discovery
  • T1036.005: Match Legitimate Resource Name or Location stealth
  • T1046: Network Service Discovery discovery
  • T1049: System Network Connections Discovery discovery
  • T1057: Process Discovery discovery
  • T1069: Permission Groups Discovery discovery
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1082: System Information Discovery discovery
  • T1083: File and Directory Discovery discovery
  • T1087: Account Discovery discovery
  • T1110.004: Credential Stuffing credential-access
  • T1111: Multi-Factor Authentication Interception credential-access
  • T1114.002: Remote Email Collection collection
  • T1120: Peripheral Device Discovery discovery
  • T1124: System Time Discovery discovery

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities