REDHAT-BUG-2541649: Medium severity PHP PHP vulnerability

Published Sep 25, 2026
·
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 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).

Affected Software

1 affected component
PHP PHP

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libcurl to a version that resolves this vulnerability.

    Fixed in 7.58.0

Event History

Sep 25, 2026
Data Sourced
via Red Hat·08:58 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments are exposed when PHP uses the http:// stream wrapper, follows redirects, and sends user-supplied Authorization, Cookie, or Proxy-Authorization headers. The risk exists when a redirect changes the host or port, or downgrades a request from HTTPS to HTTP.

2

What does an attacker need to exploit this?

An attacker needs control of, or the ability to influence, a server that can return a redirect for a request carrying one of the affected headers. The redirect can direct the request to a different origin, allowing that destination to receive credentials intended for the original server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203