CVE-2026-12064

proto-default skips SSH verification

CVE-2026-12064 is fixed in 13 products on 1 platform, first by curl 8.18.0-1ubuntu2.3, released June 24, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0041
35th percentile

When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a disconnect occurs between the tool layer and libcurl. The tool layer incorrectly infers the URL scheme, which erroneously bypasses the initialization of critical SSH security options like CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the libcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes the connection via SFTP/SCP as specified. Because the tool layer skipped the security configuration, these SSH host verification options are silently omitted, causing curl to connect to an unverified SSH remote host without throwing an error.

Where it's fixed

ProductFixed inFixReleased
Linux
curl · Debian 14 8.21.0~rc3-1 DEBIAN-CVE-2026-12064 Jul 24, 2026
curl · RHEL 10 8.12.1-1.el10_0.10 RHSA-2026:72506 Jul 3, 2026
curl · Ubuntu 25.10 (questing) 8.14.1-2ubuntu1.5 curl 8.14.1-2ubuntu1.5 Jul 21, 2026
curl · Ubuntu 26.04.1 LTS (resolute) 8.18.0-1ubuntu2.3 curl 8.18.0-1ubuntu2.3 Jun 24, 2026
curl · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
curl · ol 10 0:8.12.1-4.el10_2.4 ELSA-2026-55450 Aug 17, 2026
curl · opensuse-leap 16.0 8.14.1-160000.8.1 OPENSUSE-SU-2026:21272-1 Jul 8, 2026
curl · sles 15.6 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1 Nov 7, 2026
curl · sles 15.7 8.22.0-150700.7.33.1 SUSE-SU-2026:5068-1 Nov 7, 2026
curl · sles 16.0 8.14.1-160000.8.1 SUSE-SU-2026:22582-1 Jul 8, 2026
curl-debuginfo · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
curl-debugsource · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
curl-mini · sles 16.0 8.14.1-160000.8.1 SUSE-SU-2026:22582-1 Jul 8, 2026
curl-minimal · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
curl-minimal-debuginfo · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl · ol 10 0:8.12.1-4.el10_2.4 ELSA-2026-55450 Aug 17, 2026
libcurl-debuginfo · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl-devel · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl-devel · ol 10 0:8.12.1-4.el10_2.4 ELSA-2026-55450 Aug 17, 2026
libcurl-minimal · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl-minimal · ol 10 0:8.12.1-4.el10_2.4 ELSA-2026-55450 Aug 17, 2026
libcurl-minimal-debuginfo · amzn 2023 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132 Sep 14, 2026
libcurl3t64-gnutls · Ubuntu 25.10 (questing) 8.14.1-2ubuntu1.5 libcurl3t64-gnutls 8.14.1-2ubuntu1.5 Jul 21, 2026
libcurl3t64-gnutls · Ubuntu 26.04.1 LTS (resolute) 8.18.0-1ubuntu2.3 libcurl3t64-gnutls 8.18.0-1ubuntu2.3 Jun 24, 2026
libcurl4t64 · Ubuntu 25.10 (questing) 8.14.1-2ubuntu1.5 libcurl4t64 8.14.1-2ubuntu1.5 Jul 21, 2026
libcurl4t64 · Ubuntu 26.04.1 LTS (resolute) 8.18.0-1ubuntu2.3 libcurl4t64 8.18.0-1ubuntu2.3 Jun 24, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.