---
id: CVE-2026-80230
title: |-
  When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable
  standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and
  `CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on
  connections establishe…
summary: |-
  When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable
  standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and
  `CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on
  connections establishe…
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-295
  - CWE-303
vendor: haxx
product: curl
affected:
  - 'curl >= 7.45.0, < 8.22.0'
patched:
  - curl 8.22.0
published: '2026-09-06'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:30.337'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80230'
references:
  - url: 'https://curl.se/docs/CVE-2026-80230.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-80230.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3969300'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3969300'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80230.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80230'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529203'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-80230'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80230'
  - 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:51:52.168741Z'
epss: 0.0055
epssPercentile: 0.43642
ingestedAt: '2026-09-07T10:08:54.679Z'
scores:
  nvd: 7.5
  vendor: 3.7
---

## Overview

When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable
standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and
`CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on
connections established without a presented server certificate. Bypassing the
pinning check under these disabled-verification conditions allows
unauthenticated connections to succeed when they should be rejected.

## Affected

- `curl >= 7.45.0, < 8.22.0`

## Remediation

Upgrade past the affected range:

- `curl 8.22.0`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Hardened Images, Confidential Compute Attestation, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · no fix planned: Red Hat Hardened Images · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80230.json)
- **RHSA-2026:63161** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:63161)
