JLSEC-2026-1645: When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable standard peer...
When CURLOPTPINNEDPUBLICKEY is configured alongside options that disable standard peer verification (CURLOPTSSLVERIFYPEER = 0 and CURLOPTSSLVERIFYHOST = 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.
Only OpenSSL-backed builds are affected. For CURLjll, the backend comes from the linked LibCURLjll.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/CURL_jllto a version that resolves this vulnerability.Fixed in 8.22.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are affected?
Only OpenSSL-backed libcurl builds are affected. For CURL_jll, the relevant TLS backend is supplied by the linked LibCURL_jll.
What configuration is required for exploitation?
The connection must use CURLOPT_PINNEDPUBLICKEY while both CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are set to 0. Under those conditions, a connection without a presented server certificate can succeed without the configured public-key pin being enforced.
Are normal libcurl certificate-verification settings affected?
The issue is described only for configurations that disable both standard peer and host verification. The provided information does not indicate that configurations retaining either verification check are affected.