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.
{
"CWE": {
"desc": "Improper Certificate Validation",
"id": "CWE-295"
},
"URL": "https://curl.se/docs/CVE-2026-80230.json",
"affects": "both",
"issue": "https://hackerone.com/reports/3969300",
"last_affected": "8.21.0",
"package": "curl",
"severity": "Low",
"www": "https://curl.se/docs/CVE-2026-80230.html"
}"https://curl.se/docs/CURL-CVE-2026-80230.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "59711015111561007376559662147330300923",
"length": 522
},
"id": "CURL-CVE-2026-80230-79f53dda",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"target": {
"file": "lib/vtls/openssl.c",
"function": "ossl_check_pinned_key"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "256683512196437107931409015117060498091",
"length": 2107
},
"id": "CURL-CVE-2026-80230-ad780326",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"target": {
"file": "lib/vtls/openssl.c",
"function": "Curl_ossl_check_peer_cert"
}
},
{
"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",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/5267ed859d545534d0c21675a2b70af5a3b6e3ef",
"target": {
"file": "lib/vtls/openssl.c"
}
}
]
"2026-09-07T14:06:33Z"