cve.bz

CVE-2026-12064 haxx curl: Improper Certificate Validation

7.5 highExploit referenceEPSS 0.4%Fix available

High (7.5) in haxx curl. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-07-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-295 Improper Certificate Validation
CWE-297 Improper Validation of Certificate with Host Mismatch
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-12064 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12064?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12064?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12064 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
curlfrom 7.81.0 before 8.14.2
curlfrom 8.15.0 before 8.16.1
curlfrom 8.17.0 before 8.20.1
curl8.20.0
curl8.19.0
curl8.18.0
curl8.17.0
curl8.16.0
curl8.15.0
curl8.14.1
curl8.14.0
curl8.13.0
curl8.12.1
curl8.12.0
curl8.11.1
curl8.11.0
curl8.10.1
curl8.10.0
curl8.9.1
curl8.9.0
curl8.8.0
curl8.7.1
curl8.7.0
curl8.6.0
curl8.5.0
curl8.4.0
curl8.3.0
curl8.2.1
curl8.2.0
curl8.1.2
curl8.1.1
curl8.1.0
curl8.0.1
curl8.0.0
curl7.88.1
curl7.88.0
curl7.87.0
curl7.86.0
curl7.85.0
curl7.84.0
curl7.83.1
curl7.83.0
curl7.82.0
curl7.81.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13curlno fix listedDEBIAN-CVE-2026-12064
Debian14curl8.21.0~rc3-1DEBIAN-CVE-2026-12064
Ubuntu25.10curl8.14.1-2ubuntu1.5UBUNTU-CVE-2026-12064
Ubuntu26.04:LTScurl8.18.0-1ubuntu2.3UBUNTU-CVE-2026-12064
Red Hatenterprise_linux:10.2curl, libcurl, libcurl-devel and 5 more0:8.12.1-4.el10_2.3RHSA-2026:55450
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecurl8.14.1-150400.5.86.1SUSE-SU-2026:3043-1
SUSELinux Enterprise Module for Basesystem 15 SP7curl8.14.1-150700.7.20.1SUSE-SU-2026:2925-1
SUSELinux Enterprise Module for Basesystem 15 SP7curl8.22.0-150700.7.33.1SUSE-SU-2026:5068-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5curl8.0.1-11.134.1SUSE-SU-2026:5071-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6curl8.14.1-150600.4.46.1SUSE-SU-2026:2926-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6curl8.22.0-150600.4.58.1SUSE-SU-2026:5069-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0curl, curl-mini8.14.1-160000.8.1SUSE-SU-2026:22582-1
SUSELinux Micro 6.0curl8.14.1-7.1SUSE-SU-2026:22709-1
SUSELinux Micro 6.1curl8.14.1-slfo.1.1_8.1SUSE-SU-2026:22889-1
SUSELinux Micro 6.2curl8.14.1-160000.8.1SUSE-SU-2026:22553-1
openSUSELeap 16.0curl8.14.1-160000.8.1openSUSE-SU-2026:21272-1
openSUSETumbleweedcurl8.21.0-1.1openSUSE-SU-2026:11230-1
AlmaLinux10curl, libcurl, libcurl-devel and 1 more8.12.1-9.el10_3ALSA-2026:100685
Rocky Linux10curl, libcurl, libcurl-devel and 5 more0:8.12.1-9.el10_3RLSA-2026:100685
Alpinev3.23curl8.22.0-r0ALPINE-CVE-2026-12064
Alpinev3.24curl8.21.0-r0ALPINE-CVE-2026-12064
Azure Linux3curl8.11.1-10AZL-91812
Alpaquita23, 25, streamcurl8.21.0-r0BELL-CVE-2026-12064
BellSoft Hardened Containersstreamcurl8.21.0-r0BELL-CVE-2026-12064

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important flaw in curl allows an attacker to bypass SSH host verification when a user invokes curl with a schemeless URL and specifies SFTP or SCP as the default protocol. This can lead to man-in-the-middle attacks, enabling data interception or manipulation without user awareness in Red Hat environments.

Red Hat's mitigation

To mitigate this issue, avoid using the `--proto-default sftp` or `--proto-default scp` options with schemeless URLs when invoking the `curl` command. Instead, explicitly specify the protocol in the URL (e.g., `sftp://host/path` or `scp://host/path`).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10curl-0:8.12.1-4.el10_2.3Fixed 2026-08-17RHSA-2026:55450
Red Hat Enterprise Linux 10.0 Extended Update Supportcurl-0:8.12.1-1.el10_0.10Fixed 2026-09-28RHSA-2026:72506
Red Hat JBoss Core Services 2.4.62.SP5jbcs-httpd24-curlFixed 2026-08-19RHSA-2026:56869
Red Hat Hardened Imagescurl-main-8.21.0-0.1.hum1Fixed 2026-06-24RHSA-2026:29017
Red Hat Hardened Imagesrust-main-1.96.1-1.hum1Fixed 2026-07-02RHSA-2026:34975
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Linux 8curlNot affected
Red Hat Enterprise Linux 9curlNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Not affected
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-trustification-service-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12064.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON