CURL-CVE-2026-80230: OpenSSL pinning bypass
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments are exposed when libcurl uses OpenSSL, configures CURLOPT_PINNEDPUBLICKEY, and disables both CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST. The issue concerns connections where the server does not present a certificate.
What does an attacker need to exploit the bypass?
An attacker needs to cause a connection to be established without a presented server certificate under the affected disabled-verification configuration. No authentication or user interaction is required according to the supplied severity vector.
What configuration change can reduce exposure if patching is not immediately possible?
Do not disable standard peer verification and host verification when using CURLOPT_PINNEDPUBLICKEY. Enable CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST so that connections without an appropriate server certificate are not accepted under the affected conditions.