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.
{
"URL": "https://curl.se/docs/CVE-2026-80230.json",
"CWE": {
"desc": "Improper Certificate Validation",
"id": "CWE-295"
},
"package": "curl",
"affects": "both",
"last_affected": "8.21.0",
"www": "https://curl.se/docs/CVE-2026-80230.html",
"severity": "Low",
"issue": "https://hackerone.com/reports/3969300"
}[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 522.0,
"function_hash": "59711015111561007376559662147330300923"
},
"id": "CURL-CVE-2026-80230-79f53dda",
"target": {
"function": "ossl_check_pinned_key",
"file": "lib/vtls/openssl.c"
},
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2107.0,
"function_hash": "256683512196437107931409015117060498091"
},
"id": "CURL-CVE-2026-80230-ad780326",
"target": {
"function": "Curl_ossl_check_peer_cert",
"file": "lib/vtls/openssl.c"
},
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"49563021893337059605703251235638330843",
"324798044003778383864472119388043951039",
"311053671277913024156762171163476286297",
"119299673179215613834310336015409348691",
"80916288414829268825259364399841923600",
"78085851437628322194605549345531817034",
"284723072647471505361865678481335157879",
"201077949281956236308957163780324116368",
"145680700552271617308122907400671035681",
"197326543713245267963595584185294466650",
"220056411475995624894224918027396996170",
"28939344862711657290124321731520319204",
"167747011872137270840813567500590923804",
"37843517823286303023288024431495706186",
"189562132333388244170583115852773416760",
"95298657632096531209163128418938768689",
"285780586512719314547133130382308099133",
"18296044035188967116527513496860664021",
"29969911935309838772381914640574624838",
"84460740816877948810142141634677343405",
"201770671256611669492015409474087980899"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80230-c63840ad",
"target": {
"file": "lib/vtls/openssl.c"
},
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"signature_version": "v1"
}
]
"https://curl.se/docs/CURL-CVE-2026-80230.json"
"2026-09-02T08:04:19Z"