
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-7168 is a cross-proxy Digest authentication state leak vulnerability in libcurl, officially named "cross-proxy Digest auth state leak." It affects libcurl versions 7.12.0 through 8.19.0 (inclusive) and was introduced at commit fc6eff13b5414caf6edf. The vulnerability was reported on April 27, 2026, and publicly disclosed on April 29, 2026, coordinated with the release of curl 8.20.0. It carries a CVSS v3.1 base score of 5.3 (Medium) (curl Advisory, Openwall).
The root cause is improper state management in libcurl's handle reuse logic, classified as CWE-294 (Authentication Bypass by Capture-replay). When an application uses the same libcurl handle to perform a transfer through proxyA using HTTP Digest authentication, and then reconfigures the handle to use a different proxy (proxyB) for a subsequent transfer, libcurl incorrectly forwards the Proxy-Authorization: header — containing the Digest authentication credentials for proxyA — to proxyB. A malicious proxyB could then use this captured header to impersonate the client when communicating with proxyA. Notably, this flaw only affects the libcurl library and does not impact the curl command-line tool, and the advisory notes it is not considered a C language-specific mistake (curl Advisory, curl JSON).
The primary impact is a confidentiality breach: a malicious second proxy (proxyB) can capture the Proxy-Authorization: header containing Digest authentication state intended for proxyA, and use it to impersonate the client in subsequent communications with proxyA. This could allow credential replay attacks against the first proxy, potentially enabling unauthorized access to resources protected by that proxy. The impact is limited to scenarios where an attacker controls or can observe proxyB, and there is a partial mitigation in that proxyB receives no information about proxyA's address or identity from the request details alone (curl Advisory, Openwall).
No public exploit code or active in-the-wild exploitation has been confirmed for CVE-2026-7168. A HackerOne report (report #3697719) is referenced as the original disclosure, but its full contents are not publicly accessible. The EPSS score is approximately 0.033% (0.000330), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an attacker to control or intercept traffic at a second proxy that the victim application connects to after switching proxies while reusing a libcurl handle (curl Advisory, Feedly).
proxyB) that the target application will connect to after it has already authenticated through a legitimate proxy (proxyA) using Digest auth.proxyA to proxyB while reusing the same libcurl handle for a new transfer.proxyB — it will contain the Proxy-Authorization: header with the Digest authentication credentials originally intended for proxyA.Proxy-Authorization: header to send requests to proxyA, impersonating the client and potentially gaining unauthorized access to resources behind proxyA (curl Advisory, Openwall).Proxy-Authorization: headers (using Digest scheme) appearing in requests destined for a proxy that was not the original authentication target; outbound connections from an application to multiple distinct proxy hosts in rapid succession using the same session context.The primary fix is to upgrade curl and libcurl to version 8.20.0 or later, which was released on April 29, 2026 (curl Advisory). If upgrading immediately is not possible, the patch can be applied manually to the existing version and libcurl rebuilt (fix commit: c1cfdf59acbaf9504c45). As a configuration-based workaround, applications should avoid reusing libcurl handles when changing proxy configurations — creating a new handle for each distinct proxy connection eliminates the state leak. Ubuntu has also issued security notice USN-8227-1 addressing this vulnerability (Ubuntu Advisory).
The vulnerability was disclosed by curl maintainer Daniel Stenberg via the oss-security mailing list on April 29, 2026, coordinated with the curl 8.20.0 release (Openwall). Daniel Stenberg's blog post announcing curl 8.20.0 also covered this advisory (curl Blog). Downstream projects including Ubuntu, Puppet, Unraid, HashiCorp Consul, and Yocto Project have issued updates or advisories referencing this CVE. Community reception has been measured given the Medium severity rating and the limited exploitation preconditions required.
Fix availability across major Linux distributions and their releases.
bookworm
curl: 7.88.1-10+deb12u15
sid
curl: 8.20.0-1
trixie
curl: 8.14.1-2+deb13u4
bionic (esm-infra)
curl: 7.58.0-2ubuntu3.24+esm10
devel
curl
focal (esm-infra)
curl: 7.68.0-1ubuntu2.25+esm5
jammy
curl: 7.81.0-1ubuntu1.24
noble
curl: 8.5.0-2ubuntu10.9
questing
curl: 8.14.1-2ubuntu1.3
resolute
curl: 8.18.0-1ubuntu2.1
trusty (esm-infra-legacy)
curl
OpenShift
openshift/ose-rhel-coreos-8
RHEL 8
curl.src
RHEL 9
curl.src
RHEL 10
curl/curl-0:8.12.1-4.el10_2.7
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."