CVE-2026-12064
Last modified
CVE-2026-12064 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | >= 7.81.0, < 8.21.0 |
References
- https://curl.se/docs/CVE-2026-12064.htmlPatch, Vendor Advisory
- https://curl.se/docs/CVE-2026-12064.jsonVendor Advisory
- https://hackerone.com/reports/3797526Exploit, Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/3797526Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-12064?
How severe is CVE-2026-12064?
How do I fix CVE-2026-12064?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120634CGI::Carp versions before 5.00 for Perl leak warnings across…6.5
- CVE-2026-120635CGI versions before 5.00 for Perl allow form fields to be sm…8.1
- CVE-2026-120636CGI versions before 5.00 for Perl allow open redirects and s…6.1
- CVE-2026-120637CGI versions before 5.00 for Perl take request parameters fr…9.8
- CVE-2026-120638CGI versions before 5.00 for Perl allow open redirects via H…6.1
- CVE-2026-120639CGI versions before 5.00 for Perl allow HTTP header injectio…7.2
- CVE-2026-120640CGI versions before 5.00 for Perl allow the POSTDATA, PUTDAT…6.5
- CVE-2026-120641CGI versions before 5.00 for Perl return upload filenames wi…8.8
- CVE-2026-120642CGI versions before 5.00 for Perl return request-derived val…9.1
- CVE-2026-120643CGI versions from 4.62 before 5.00 for Perl allow cross-site…6.1
- CVE-2026-120644CGI::Cookie versions before 5.00 for Perl allow cookie attri…9.1
- CVE-2026-120645CGI versions before 5.00 for Perl allow denial of service vi…7.5
Are you affected by CVE-2026-12064?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
