proto-default skips SSH verification
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-295.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| curl | curl | 7.81.0 to before 8.14.2; 8.15.0 to before 8.16.1; 8.17.0 to before 8.20.1 | 8.14.2, 8.16.1, 8.20.1 | Patch available | CNA |
| curl | curl | 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.88.0; 7.87.0; 7.86.0; 7.85.0; 7.84.0; 7.83.1; 7.83.0; 7.82.0; 7.81.0 | — | No fix listed | CNA |
- curl Vendorcurl Affected 7.81.0 to before 8.14.2; 8.15.0 to before 8.16.1; 8.17.0 to before 8.20.1 Fixed in 8.14.2, 8.16.1, 8.20.1 Patch available CNA
- curl Vendorcurl Affected 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.88.0; 7.87.0; 7.86.0; 7.85.0; 7.84.0; 7.83.1; 7.83.0; 7.82.0; 7.81.0 Fixed in — No fix listed CNA
Remediation
- Fix · CNA curl (curl) Fixed in 8.14.2, 8.16.1, 8.20.1
Red Hat 5 advisories
- RHSA-2026:72506 Released 2026-09-28 · Red Hat rating Importantcurl security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) libcurl-devel-8.12.1-1.el10_0.10
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) curl-8.12.1-1.el10_0.10, libcurl-8.12.1-1.el10_0.10, libcurl-minimal-8.12.1-1.el10_0.10
- RHSA-2026:56869 Released 2026-08-19 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.62 SP5 security update
- Red Hat JBoss Core Services 2.4.62.SP5
- RHSA-2026:55450 Released 2026-08-17 · Red Hat rating Importantcurl security update
- Red Hat Enterprise Linux AppStream (v. 10) libcurl-devel-8.12.1-4.el10_2.3
- Red Hat Enterprise Linux BaseOS (v. 10) curl-8.12.1-4.el10_2.3, libcurl-8.12.1-4.el10_2.3, libcurl-minimal-8.12.1-4.el10_2.3
Show 2 more Red Hat advisories
- RHSA-2026:34975 Released 2026-07-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images cargo-1.96.1-1.hum1@aarch64, cargo-1.96.1-1.hum1@x86_64, clippy-1.96.1-1.hum1@aarch64 +36
- RHSA-2026:29017 Released 2026-06-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images curl-8.21.0-0.1.hum1@aarch64, curl-8.21.0-0.1.hum1@src, curl-8.21.0-0.1.hum1@x86_64 +6
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
curl 8.14.2, 8.16.1, 8.20.1
13 records Highest priority Priority HIGH 12 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-10231 cross-origin Digest auth state leakPriority HIGH 82
- TI-2026-09063 HTTP/2 stream-dependency tree UAFPriority HIGH 82
- TI-2026-07976 stale proxy password leakPriority HIGH 82
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:55450 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:72506 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:55450 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:72506 |
| Red Hat Hardened Images | Fixed | RHSA-2026:29017, RHSA-2026:34975 |
| Red Hat JBoss Core Services 2.4.62.SP5 | Fixed | RHSA-2026:56869 |
Not affected: 8 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat Trusted Profile Analyzer
Timeline
- 2026-10-02 Threatist record created from CVE-2026-12064
- 2026-10-03 Alias added: GHSA-jm94-9f7h-36pr
- 2026-10-09 Fix available: RHSA-2026:56869 · Red Hat
- 2026-10-09 Fix available: Red Hat JBoss Core Services 2.4.62.SP5 · Red Hat
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
References
More curl vulnerabilities
- TI-2023-19922 Out-of-bounds write in curl CVSS 3.1CRITICAL 9.8
- TI-2026-16162 Negotiate ambient user conn reuse CVSS 3.1CRITICAL 9.8
- TI-2026-10231 cross-origin Digest auth state leak CVSS 3.1CRITICAL 9.8
- TI-2026-09063 HTTP/2 stream-dependency tree UAF CVSS 3.1CRITICAL 9.8
- TI-2026-07976 stale proxy password leak CVSS 3.1CRITICAL 9.8
- TI-2026-07845 SASL double-free CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-12064 · CVE Program
- CVE-2026-12064 · NVD
- FIRST EPSS
- GHSA-jm94-9f7h-36pr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-12064 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences