---
id: CVE-2026-82208
title: |-
  With the wolfSSL backend, when CA caching is enabled and an
  `CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can
  silently reinstall the cached store after the callback returns
summary: |-
  With the wolfSSL backend, when CA caching is enabled and an
  `CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can
  silently reinstall the cached store after the callback returns. A certificate
  trusted by the cached sto…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-295
vendor: haxx
product: curl
affected:
  - 'curl >= 8.9.1, < 8.22.0'
patched:
  - curl 8.22.0
published: '2026-09-06'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:31.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82208'
references:
  - url: 'https://curl.se/docs/CVE-2026-82208.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-82208.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3973090'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82208.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82208'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529202'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-82208'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82208'
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:46:24.528833Z'
epss: 0.00407
epssPercentile: 0.32393
ingestedAt: '2026-09-07T11:09:35.724Z'
scores:
  nvd: 7.5
  vendor: 4.8
---

## Overview

With the wolfSSL backend, when CA caching is enabled and an
`CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can
silently reinstall the cached store after the callback returns. A certificate
trusted by the cached store but rejected by the callback-selected store is
then incorrectly accepted.

## Affected

- `curl >= 8.9.1, < 8.22.0`

## Remediation

Upgrade past the affected range:

- `curl 8.22.0`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Confidential Compute Attestation, 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, … · updated 2026-09-22 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82208.json)
