CVE-2026-8927

env-set cross-proxy Digest auth state leak

Published Jul 3, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
When reusing a libcurl handle for sequential transfers driven by
environment-variable proxy configuration, libcurl fails to clear the proxy
authentication state between requests. Specifically, if the initial transfer
authenticates against `proxyA` using Digest auth, a subsequent transfer routed
through `proxyB` erroneously leaks the `Proxy-Authorization:` header intended
solely for `proxyA`.

Analysis

AI-generated

Technical impact

The flaw occurs when a libcurl handle is reused for multiple sequential transfers directed by environment‑variable proxy settings. The library fails to reset the proxy authentication state between requests, so if the first transfer authenticates to proxyA using Digest authentication, the following request sent via proxyB will carry the Proxy-Authorization header meant for proxyA, leaking proxy credentials to anyone monitoring traffic to proxyB. This constitutes an information disclosure and reflects improper state handling, mapped to CWE‑201 and CWE‑294.

Affected Systems

This issue affects any use of the curl:curl product’s libcurl library when a handle is reused for multiple HTTP(S) requests that are directed through different proxies via environment variables. Without a specified affected version, any libcurl release that implements handle‑reuse logic could be vulnerable, especially applications that perform high‑frequency requests or route traffic through multiple proxies within a single session.

Risk and Exploitability

The CVSS score of 9.1 classifies the flaw as high severity. The EPSS score is below 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low current likelihood of exploitation. The vulnerability does not require elevated privileges or code execution on the target system; however, it is likely exploitable by an attacker who can observe or influence traffic to the second proxy. It is inferred that the attacker needs access to network traffic between the victim and the second proxy to capture the leaked Proxy‑Authorization header.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libcurl to the latest release that clears proxy authentication state between transfers.
  • If an upgrade is not immediately possible, use a fresh libcurl handle for each distinct proxy so that authentication state is not shared across requests.
  • Avoid using Digest authentication on proxies that carry privileged credentials, or enforce network segmentation so that a second proxy cannot see the leaked header.

Generated by OpenCVE AI on August 13, 2026 at 12:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6558-1 curl security update
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8820-1 curl vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-200
CWE-306
Type Values Removed Values Added
Weaknesses CWE-200
CWE-306
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Description When reusing a libcurl handle for sequential transfers driven by environment-variable proxy configuration, libcurl fails to clear the proxy authentication state between requests. Specifically, if the initial transfer authenticates against `proxyA` using Digest auth, a subsequent transfer routed through `proxyB` erroneously leaks the `Proxy-Authorization:` header intended solely for `proxyA`.
Title env-set 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
May 19, 2026, 8:12 AM
Status
Modified
Published
Jul 3, 2026, 7:16 AM
Modified
Sep 15, 2026, 7:16 AM
Severity
Important
Public date
Jul 3, 2026, 6:16 AM