Skip to main content
VulnerabilityPublished Updated

CVE-2026-12064: When a user invokes curl using a schemeless URL combined with --proto-default sftp (or scp), a

Affects curlSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 8.14.1-2ubuntu1.5 : patch curl soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.14.1-2ubuntu1.5, 8.18.0-1ubuntu2.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu curl to 8.14.1-2ubuntu1.5 (package) or 8.18.0-1ubuntu2.3 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTScurlpkg:deb/ubuntu/curl?arch=source&distro=resoluteOther threatsAffected
  • <8.18.0-1ubuntu2.3
Fixed in
  • 8.18.0-1ubuntu2.3
Ubuntu 25.10curlpkg:deb/ubuntu/curl?arch=source&distro=questingOther threatsAffected
  • <8.14.1-2ubuntu1.5
Fixed in
  • 8.14.1-2ubuntu1.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…