CVE-2026-12064

Source
https://cve.org/CVERecord?id=CVE-2026-12064
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12064.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-12064
Aliases
Downstream
ALPINE (1)
AZL (1)
BELL (1)
CGA (21)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MINI (2)
OESA (3)
openSUSE (2)
RHSA (3)
ROOT (8)
SUSE (7)
UBUNTU (1)
Related
Published
2026-07-03T06:13:55Z
Modified
2026-09-17T03:30:15Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
proto-default skips SSH verification
Details

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.

Database specific
{
    "cna_assigner":  "curl",
    "cwe_ids":  [
        "CWE-297"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12064.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "7.81.0"
                },
                {
                    "fixed":  "8.14.2"
                },
                {
                    "introduced":  "8.15.0"
                },
                {
                    "fixed":  "8.16.1"
                },
                {
                    "introduced":  "8.17.0"
                },
                {
                    "fixed":  "8.20.1"
                },
                {
                    "introduced":  "18270893abdb19f0ca170c118f8a2847dbd304be"
                },
                {
                    "fixed":  "ab3bb8cd8be8f9d4acb97da0418abc279182041e"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "8.20.0"
        },
        {
            "last_affected":  "8.20.0"
        },
        {
            "introduced":  "8.19.0"
        },
        {
            "last_affected":  "8.19.0"
        },
        {
            "introduced":  "8.18.0"
        },
        {
            "last_affected":  "8.18.0"
        },
        {
            "introduced":  "8.17.0"
        },
        {
            "last_affected":  "8.17.0"
        },
        {
            "introduced":  "8.16.0"
        },
        {
            "last_affected":  "8.16.0"
        },
        {
            "introduced":  "8.15.0"
        },
        {
            "last_affected":  "8.15.0"
        },
        {
            "introduced":  "8.14.1"
        },
        {
            "last_affected":  "8.14.1"
        },
        {
            "introduced":  "8.14.0"
        },
        {
            "last_affected":  "8.14.0"
        },
        {
            "introduced":  "8.13.0"
        },
        {
            "last_affected":  "8.13.0"
        },
        {
            "introduced":  "8.12.1"
        },
        {
            "last_affected":  "8.12.1"
        },
        {
            "introduced":  "8.12.0"
        },
        {
            "last_affected":  "8.12.0"
        },
        {
            "introduced":  "8.11.1"
        },
        {
            "last_affected":  "8.11.1"
        },
        {
            "introduced":  "8.11.0"
        },
        {
            "last_affected":  "8.11.0"
        },
        {
            "introduced":  "8.10.1"
        },
        {
            "last_affected":  "8.10.1"
        },
        {
            "introduced":  "8.10.0"
        },
        {
            "last_affected":  "8.10.0"
        },
        {
            "introduced":  "8.9.1"
        },
        {
            "last_affected":  "8.9.1"
        },
        {
            "introduced":  "8.9.0"
        },
        {
            "last_affected":  "8.9.0"
        },
        {
            "introduced":  "8.8.0"
        },
        {
            "last_affected":  "8.8.0"
        },
        {
            "introduced":  "8.7.1"
        },
        {
            "last_affected":  "8.7.1"
        },
        {
            "introduced":  "8.7.0"
        },
        {
            "last_affected":  "8.7.0"
        },
        {
            "introduced":  "8.6.0"
        },
        {
            "last_affected":  "8.6.0"
        },
        {
            "introduced":  "8.5.0"
        },
        {
            "last_affected":  "8.5.0"
        },
        {
            "introduced":  "8.4.0"
        },
        {
            "last_affected":  "8.4.0"
        },
        {
            "introduced":  "8.3.0"
        },
        {
            "last_affected":  "8.3.0"
        },
        {
            "introduced":  "8.2.1"
        },
        {
            "last_affected":  "8.2.1"
        },
        {
            "introduced":  "8.2.0"
        },
        {
            "last_affected":  "8.2.0"
        },
        {
            "introduced":  "8.1.2"
        },
        {
            "last_affected":  "8.1.2"
        },
        {
            "introduced":  "8.1.1"
        },
        {
            "last_affected":  "8.1.1"
        },
        {
            "introduced":  "8.1.0"
        },
        {
            "last_affected":  "8.1.0"
        },
        {
            "introduced":  "8.0.1"
        },
        {
            "last_affected":  "8.0.1"
        },
        {
            "introduced":  "8.0.0"
        },
        {
            "last_affected":  "8.0.0"
        },
        {
            "introduced":  "7.88.1"
        },
        {
            "last_affected":  "7.88.1"
        },
        {
            "introduced":  "7.88.0"
        },
        {
            "last_affected":  "7.88.0"
        },
        {
            "introduced":  "7.87.0"
        },
        {
            "last_affected":  "7.87.0"
        },
        {
            "introduced":  "7.86.0"
        },
        {
            "last_affected":  "7.86.0"
        },
        {
            "introduced":  "7.85.0"
        },
        {
            "last_affected":  "7.85.0"
        },
        {
            "introduced":  "7.84.0"
        },
        {
            "last_affected":  "7.84.0"
        },
        {
            "introduced":  "7.83.1"
        },
        {
            "last_affected":  "7.83.1"
        },
        {
            "introduced":  "7.83.0"
        },
        {
            "last_affected":  "7.83.0"
        },
        {
            "introduced":  "7.82.0"
        },
        {
            "last_affected":  "7.82.0"
        },
        {
            "introduced":  "7.81.0"
        },
        {
            "last_affected":  "7.81.0"
        },
        {
            "fixed":  "8.21.0"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

7.*
7.81.0
7.82.0
7.83.0
7.83.1
7.84.0
7.85.0
7.86.0
7.87.0
7.88.0
7.88.1
8.*
8.0.0
8.0.1
8.1.0
8.1.1
8.1.2
8.10.0
8.10.1
8.11.0
8.11.1
8.12.0
8.12.1
8.13.0
8.14.0
8.14.1
8.15.0
8.16.0
8.17.0
8.18.0
8.19.0
8.2.0
8.2.1
8.20.0
8.3.0
8.4.0
8.5.0
8.6.0
8.7.0
8.7.1
8.8.0
8.9.0
8.9.1
Other
curl-8_20_0
rc-8_21_0-1
rc-8_21_0-2
rc-8_21_0-3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12064.json"