Menu

Star on GitHub · 3.2k

CVE-2026-12064

7.5 · HIGH

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.

Published Jul 3, 2026CWE-295EPSS 0.40%

Overview

CVE-2026-12064 is a high-severity vulnerability. It was published on July 3, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-12064?

CVE-2026-12064 is a high-severity vulnerability. It was published on July 3, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2026-12064?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-12064?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-12064?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-12064 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all