PT-2026-168117
CVE-2026-140868
·
Published
2026-12-04
·
Updated
2026-12-04
Description by
CVSS 3.1
3.7
LowMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
httpx2 versions prior to 2.18.0
Description
When following a redirect to a different origin, the software removes Authorization and Cookie headers but retains the
Proxy-Authorization header. If a client provides Proxy-Authorization in the request headers and follow redirects is set to True, these credentials may be sent to the redirect target. This allows an attacker controlling the redirect response or an on-path attacker on plain HTTP to capture the credentials. This occurs specifically when the redirect target is not reached via the same forward proxy that processed the initial request.Recommendations
Update to version 2.18.0.
Provide proxy credentials within the proxy URL instead of using a header.
Set
follow redirects to False.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾