JLSEC-2026-1645: When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable standard peer...

Published Dec 1, 2026
·
Updated

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

4 affected componentsFixes available
julia/curl_jll<8.22.0+0
8.22.0+0
julia/libcurl_jll>=7.81.0+2<=7.81.0+2
julia/libcurl_jll>=7.88.1+1<=7.88.1+1
julia/libcurl_jll>=8.7.1+1<=8.21.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/CURL_jll to a version that resolves this vulnerability.

    Fixed in 8.22.0+0

Event History

Dec 1, 2026
Advisory Published
via OSV·03:35 PM
Data Sourced
via OSV·03:35 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203