Skip to content
OpenAdvisories
High · 7.5 CVE-2026-12064 EUVD-2026-41502GHSA-jm94-9f7h-36pr

proto-default skips SSH verification

Published Jul 3, 2026 · Updated Sep 15, 2026 · Assigned by curl

Description

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.

Affected products

VendorProductAffectedFixed
curl curl 7.81.0 – < 8.14.2, 8.15.0 – < 8.16.1, 8.17.0 – < 8.20.1, 8.20.0, 8.19.0, 8.18.0, 8.17.0, 8.16.0, 8.15.0, 8.14.1, 8.14.0, 8.13.0, 8.12.1, 8.12.0, 8.11.1, 8.11.0, 8.10.1, 8.10.0, 8.9.1, 8.9.0, 8.8.0, 8.7.1, 8.7.0, 8.6.0, 8.5.0, 8.4.0, 8.3.0, 8.2.1, 8.2.0, 8.1.2, 8.1.1, 8.1.0, 8.0.1, 8.0.0, 7.88.1, 7.… 8.14.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.21.0~rc3-1 —
Debian 13 curl No fix yet —
Debian 12 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.3 —
Ubuntu 25.10 curl 8.14.1-2ubuntu1.5 —
ReleasePackageFixed inAdvisory
RHEL 10 curl +3 8.12.1-4.el10_2.3 RHSA-2026:55450
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.14.1-150700.7.20.1 SUSE-SU-2026:5068-1, SUSE-SU-2026:2925-1
SLES 15 SP6 curl 8.14.1-150600.4.46.1 SUSE-SU-2026:5069-1, SUSE-SU-2026:2926-1
SLES 15 SP5 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLES 15 SP4 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLES 12 SP5 curl 8.0.1-11.134.1 SUSE-SU-2026:5071-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 curl +1 8.14.1-160000.8.1 SUSE-SU-2026:22582-1
SLES for SAP 15 SP6 curl 8.14.1-150600.4.46.1 SUSE-SU-2026:5069-1, SUSE-SU-2026:2926-1
SLES 16.0 curl +1 8.14.1-160000.8.1 SUSE-SU-2026:22582-1
SLE Micro 6.2 curl 8.14.1-160000.8.1 SUSE-SU-2026:22553-1
SLE Micro 6.1 curl 8.14.1-slfo.1.1_8.1 SUSE-SU-2026:22889-1
SLE Micro 6.0 curl 8.14.1-7.1 SUSE-SU-2026:22709-1
SLE Micro 5.5 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLE Micro 5.4 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLE Micro 5.3 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLE HPC 15 SP5 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SLE HPC 15 SP4 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
SUSE Linux Enterprise Installer Updates 15 SP4 curl 8.14.1-150400.5.86.1 SUSE-SU-2026:3043-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.21.0-1.1 openSUSE-SU-2026:11230-1
openSUSE Leap 16.0 curl 8.14.1-160000.8.1 openSUSE-SU-2026:21272-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.21.0-r0 —
Alpine v3.23 curl 8.22.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132
Amazon Linux 2 curl +2 8.3.0-1.amzn2.0.13 ALAS2-2026-3953

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 curl 8.11.1-10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 curl +3 8.12.1-4.el10_2.4 ELSA-2026-55450

Advisories 17

References