CVE-2026-7168

cross-proxy Digest auth state leak

Published May 13, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Successfully using libcurl to do a transfer over a specific HTTP proxy
(`proxyA`) with **Digest** authentication and then changing the proxy host to
a second one (`proxyB`) for a second transfer, reusing the same handle, makes
libcurl wrongly pass on the `Proxy-Authorization:` header field meant for
`proxyA`, to `proxyB`.

Analysis

AI-generated

Technical impact

Using libcurl to send a request through an HTTP proxy that requires Digest authentication, an attacker can cause the library to incorrectly carry the Proxy-Authorization header from the first proxy to a second proxy when the proxy host is changed while reusing the same handle. This flaw results in the credentials intended for the first proxy being exposed to the second proxy, thereby compromising the confidentiality of authentication tokens. The weakness is a classic example of Information Disclosure and is identified as CWE‑294 and CWE‑201.

Affected Systems

The affected product is the libcurl library commonly known as CURL. The advisory does not specify vulnerable versions, so any libcurl release that exhibits this behavior should be considered at risk. The problem lies in the library’s internal state management when a handle’s proxy configuration changes.

Risk and Exploitability

The EPSS score is <1% and the CVSS score of 5.3 indicates a moderate severity. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that exploitation requires an attacker to influence the application’s use of multiple proxies or to operate a malicious second proxy (proxyB) capable of capturing the leaked header. The impact scales with the sensitivity of the compromised credentials and with how widely the vulnerable code path is used; an attacker capturing the header can authenticate to the first proxy and potentially access resources beyond the second proxy’s domain.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libcurl to the latest release that includes the fix for CVE-2026-7168
  • If a patch is not yet available, avoid reusing the same CURL handle when changing proxy hosts; create a fresh handle for each proxy to prevent authentication state carry‑over
  • Before switching proxies, explicitly clear proxy authentication settings by setting CURLOPT_PROXYUSERNAME and CURLOPT_PROXYPASSWORD to empty or null values

Generated by OpenCVE AI on May 20, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8227-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8525-1 curl vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-201
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Haxx
Haxx curl
Weaknesses CWE-294
CPEs cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
Vendors & Products Haxx
Haxx curl
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description Successfully using libcurl to do a transfer over a specific HTTP proxy (`proxyA`) with **Digest** authentication and then changing the proxy host to a second one (`proxyB`) for a second transfer, reusing the same handle, makes libcurl wrongly pass on the `Proxy-Authorization:` header field meant for `proxyA`, to `proxyB`.
Title cross-proxy Digest auth state leak
References
Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data

  • CWE-294

    Authentication Bypass by Capture-replay

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Sep 15, 2026, 6:03 AM
Reserved
Apr 27, 2026, 7:37 AM
Status
Modified
Published
May 13, 2026, 1:01 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Moderate
Public date
May 13, 2026, 8:29 AM