CVE-2026-140868

Description

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.

Statement

Red Hat has evaluated this vulnerability as having Low impact because exploitation requires a combination of non-default application configurations, specifically enabling automatic redirect handling and manually inserting proxy credentials into HTTP headers rather than using standard proxy parameters. In standard Red Hat environments, HTTP client implementations do not automatically follow cross-site redirects with custom authentication headers. Additionally, the risk is strictly limited to credential exposure of the proxy header without enabling remote code execution or broader system compromise.

Mitigation

To mitigate this issue without modifying software packages, configure applications using the httpx2 library to supply proxy credentials through the designated proxy parameter or proxy URL rather than setting explicit Proxy-Authorization headers. Alternatively, ensure automatic redirect handling remains disabled (set follow_redirects=False) when issuing requests to external or untrusted endpoints.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score3.7N/A3.7
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityLowN/ALow
Integrity ImpactNoneN/ANone
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Files or Directories; Read Memory; Read Application Data

Sensitive data may be exposed to attackers.

Frequently Asked Questions

Want to get errata notifications? Sign up here.