---
id: CVE-2026-7168
title: |-
  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 wr…
summary: |-
  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 wr…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-294
  - CWE-201
vendor: haxx
product: curl
affected:
  - 'curl >= 7.12.0, < 8.20.0'
patched:
  - curl 8.20.0
published: '2026-05-13'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:29.890'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7168'
references:
  - url: 'https://curl.se/docs/CVE-2026-7168.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-7168.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3697719'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'http://www.openwall.com/lists/oss-security/2026/04/29/14'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://hackerone.com/reports/3697719'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7168.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-7168'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2476979'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-7168'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7168'
  - url: 'https://access.redhat.com/errata/RHSA-2026:19106'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-05-13T14:18:10.734219Z'
epss: 0.00471
epssPercentile: 0.39797
ingestedAt: '2026-09-15T07:33:29.267Z'
---

## Overview

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`.

## Affected

- `curl >= 7.12.0, < 8.20.0`

## Remediation

Upgrade past the affected range:

- `curl 8.20.0`

## Vendor advisories

- **RHSA-2026:19106** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:19106)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat OpenShift Container Platform 4, … · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7168.json)
