---
id: CVE-2026-80231
title: |-
  A flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup
  for a given hostname even when using a different Native CA Store setting
  (`CURLSSLOPT_NATIVE_CA`) than when the connection was created.
summary: |-
  A flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup
  for a given hostname even when using a different Native CA Store setting
  (`CURLSSLOPT_NATIVE_CA`) than when the connection was created.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-488
  - CWE-295
vendor: haxx
product: curl
affected:
  - 'curl >= 7.71.0, < 8.22.0'
patched:
  - curl 8.22.0
published: '2026-09-06'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:30.570'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80231'
references:
  - url: 'https://curl.se/docs/CVE-2026-80231.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-80231.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3969368'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3969368'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80231.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80231'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529204'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-80231'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80231'
  - url: 'https://access.redhat.com/errata/RHSA-2026:63161'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - score-dispute
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-08T18:50:09.901920Z'
epss: 0.00898
epssPercentile: 0.59428
ingestedAt: '2026-09-07T11:09:35.612Z'
scores:
  nvd: 7.5
  vendor: 3.7
---

## Overview

A flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup
for a given hostname even when using a different Native CA Store setting
(`CURLSSLOPT_NATIVE_CA`) than when the connection was created.

## Affected

- `curl >= 7.71.0, < 8.22.0`

## Remediation

Upgrade past the affected range:

- `curl 8.22.0`

## Vendor advisories

- **RHSA-2026:63161** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:63161)
