When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` with the curl tool,curl should check the public key of the server certificate to verify the peer. This check was skipped in a certain condition that would then make curl allow the connection without performing the proper check, thus not noticing a possible impostor. To skip this check, the connection had to be done with QUIC with ngtcp2 built to use GnuTLS and the user had to explicitly disable the standard certificate verification.
2026-01-08T10:15:45.407
2026-01-20T14:54:02.730
Analyzed
2499f714-1537-4658-8207-48ae4bb9eae9
CVSSv3.1: 5.9 (MEDIUM)