Bug 2590875 (CVE-2026-140868)

Summary: CVE-2026-140868 httpx2: httpx2: Information disclosure via cross-origin redirect credential leakage
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alinfoot, anpicker, ansingla, bbrownin, blitton, dfreiber, dkeler, drow, dtrifiro, dymurray, ebourniv, gbenhaim, hasun, jburrell, jdobes, jfula, jmitchel, jowilson, kaycoth, kgaikwad, mhayden, mwoodson, niyer, nyancey, ometelka, orabin, prwatson, ptisnovs, sbunciak, sdoran, suppawar, syedriko, tguha, thason, twaugh, vkumar, weaton, xdharmai
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in httpx2. A remote or on-path attacker can capture sensitive proxy credentials when an application follows an HTTP redirect to an untrusted domain. This issue occurs because the client fails to remove proxy authentication headers during cross-origin redirects, resulting in information disclosure.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-04 12:05:12 UTC
When following a redirect to a different origin, httpx2 removes the Authorization and Cookie headers but keeps Proxy-Authorization. A client that sets Proxy-Authorization in its client or request headers sends that credential to the redirect target, where an attacker who controls the redirecting response, or an on-path attacker on plain HTTP, can capture it.

Applications are affected when all of the following hold: follow_redirects=True is set (the default is False), Proxy-Authorization is passed in headers rather than through the proxy parameter, and the redirect target is not reached through the same forward proxy that consumed the header on the first request. Proxy credentials given in the proxy URL are not affected. Affected versions are httpx2 before 2.18.0.

The issue is fixed in 2.18.0, which removes Proxy-Authorization whenever a redirect changes origin. Until then, give proxy credentials in the proxy URL instead of a header, or leave follow_redirects off.