---
id: CVE-2026-6429
title: |-
  When asked to both use a `.netrc` file for credentials and to follow HTTP
  redirects, libcurl could leak the password used for the first host to the
  followed-to host under certain circumstances.
summary: |-
  When asked to both use a `.netrc` file for credentials and to follow HTTP
  redirects, libcurl could leak the password used for the first host to the
  followed-to host under certain circumstances.
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-200
  - CWE-201
vendor: haxx
product: curl
affected:
  - 'curl >= 7.14.0, < 8.20.0'
patched:
  - curl 8.20.0
published: '2026-05-13'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:29.557'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6429'
references:
  - url: 'https://curl.se/docs/CVE-2026-6429.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-6429.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3677759'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6429.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-6429'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2461205'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-6429'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6429'
  - url: 'https://access.redhat.com/errata/RHSA-2026:12916'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-05-13T14:03:52.312824Z'
epss: 0.00519
epssPercentile: 0.43141
ingestedAt: '2026-09-15T07:33:29.267Z'
scores:
  nvd: 5.3
  vendor: 6.5
---

## Overview

When asked to both use a `.netrc` file for credentials and to follow HTTP
redirects, libcurl could leak the password used for the first host to the
followed-to host under certain circumstances.

## Affected

- `curl >= 7.14.0, < 8.20.0`

## Remediation

Upgrade past the affected range:

- `curl 8.20.0`

## Vendor advisories

- **RHSA-2026:12916** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-05-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:12916)
- **Red Hat VEX** · Moderate · affected: Confidential Compute Attestation, Logging Subsystem for Red Hat OpenShift, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · no fix planned: Confidential Compute Attestation, Logging Subsystem for Red Hat OpenShift, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, … · updated 2026-09-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6429.json)
