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`.
Published: 2026-07-03
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libcurl fails to reset the proxy authentication state when a single handle is reused for sequential transfers that use environment‑driven proxy settings. When the first connection authenticates with proxyA using Digest authentication, the same handle is reused for a request that is forwarded through proxyB. Instead of clearing the stale state, libcurl mistakenly sends the Proxy‑Authorization header that belongs to proxyA to proxyB. The header carries the credential information for proxyA, which can be captured by any observer of the traffic to proxyB. This leak allows an attacker who can see or control the second proxy connection to obtain the credentials that were meant only for the first proxy.

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.

Generated by OpenCVE AI on July 21, 2026 at 10:12 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 21, 2026 at 10:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
History

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-201
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Mon, 06 Jul 2026 17:30:00 +0000

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'}


Sun, 05 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sun, 05 Jul 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-306

Sat, 04 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-306

Fri, 03 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Fri, 03 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 06:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-07-06T17:01:06.213Z

Reserved: 2026-05-19T08:12:08.842Z

Link: CVE-2026-8927

cve-icon Vulnrichment

Updated: 2026-07-06T17:01:00.942Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-03T06:16:06Z

Links: CVE-2026-8927 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data