
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-82208 is a certificate validation bypass vulnerability in curl/libcurl affecting the wolfSSL TLS backend, where CA-cache hit logic can silently reinstall a cached CA store after a CURLOPT_SSL_CTX_FUNCTION callback returns, causing an incorrectly trusted certificate to be accepted. It affects curl versions 8.9.1 through 8.21.0 (inclusive) and was introduced via a specific commit in that range. The vulnerability was reported on August 27, 2026, and publicly disclosed on September 2, 2026, alongside the release of curl 8.22.0. It carries a severity rating of Low and is classified under CWE-295 (Improper Certificate Validation) (curl Advisory, oss-sec).
The root cause (CWE-295) lies in the wolfSSL CA-cache hit logic within libcurl: when CA caching is enabled and a CURLOPT_SSL_CTX_FUNCTION callback replaces the trust store with a custom one, libcurl can silently reinstall the previously cached CA store after the callback returns. This means a certificate that would be rejected by the callback-selected store but is trusted by the cached store gets incorrectly accepted, effectively bypassing the custom certificate validation logic. The flaw is specific to the wolfSSL backend and does not affect other TLS backends or the curl command-line tool itself. The vulnerability was discovered by Stanislav Fort of Aisle Research and patched by Stefan Eissing (curl Advisory, Aisle Blog).
Successful exploitation allows a TLS peer presenting a certificate trusted by the cached CA store — but explicitly rejected by the application's custom callback — to be incorrectly accepted, undermining the application's intended certificate validation policy. This primarily affects confidentiality and integrity, as an attacker positioned to perform a man-in-the-middle attack could intercept or tamper with TLS-protected communications in applications relying on CURLOPT_SSL_CTX_FUNCTION for custom trust decisions. The impact is limited to libcurl consumers using the wolfSSL backend with both CA caching and the SSL context callback enabled simultaneously; the curl command-line tool is not affected (curl Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The CVE status is listed as Reserved, and the vulnerability is rated Low severity, reflecting the narrow preconditions required: the target application must use libcurl built with wolfSSL, have CA caching enabled, and use a CURLOPT_SSL_CTX_FUNCTION callback to replace the trust store. There is no current CISA KEV catalog listing or known threat actor attribution for this vulnerability (curl Advisory, oss-sec).
CURLOPT_SSL_CTX_FUNCTION to install a custom trust store and has CA caching enabled.The primary remediation is to upgrade curl and libcurl to version 8.22.0, released September 2, 2026, which contains the fix (curl Advisory). Alternatively, apply the patch commit ed0338befd1d865a8ea1fbaa90 to the affected version and rebuild. As a configuration-based workaround, avoid using CURLOPT_SSL_CTX_FUNCTION in combination with the wolfSSL backend until the upgrade can be applied. Applications not using wolfSSL as their TLS backend are not affected and require no action.
The vulnerability was one of six curl CVEs discovered by Stanislav Fort of Aisle Research, which drew attention given that the researcher found these issues after AI tools from OpenAI and Anthropic reportedly found zero vulnerabilities in curl — a point highlighted in Aisle's blog post (Aisle Blog). curl project lead Daniel Stenberg noted the release of curl 8.22.0 addressing these issues on his blog (Daniel's Blog). The curl advisory explicitly notes this bug is not considered a C language mistake, which is an unusual editorial note reflecting ongoing discussions in the security community about memory-safe languages.
Fix availability across major Linux distributions and their releases.
bionic (esm-infra)
curl
devel
curl
focal (esm-infra)
curl
jammy
curl
noble
curl
resolute
curl
trusty (esm-infra-legacy)
curl
xenial (esm-infra-legacy)
curl
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."