httpx2 before version 2.18.0 improperly retains the Proxy-Authorization header when following redirects to a different origin, potentially exposing proxy credentials to attackers controlling the redirect or on-path attackers on plain HTTP. This occurs only when follow_redirects=True, Proxy-Authorization is set in headers (not via proxy parameter), and the redirect target is accessed without the same forward proxy. The issue is fixed in version 2.18.0.