CVE-2026-12064Haxx Curl
High 7.5 No auth needed
Follow: this CVE · Haxx · Haxx Curl We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 3, 2026
- Updated
- Sep 15, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Curl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| haxx | curl | ≥ 7.81.0 < 8.21.0 |
Official advisories
- Red Hat Security Advisory: curl security update · Red Hat · RHSA-2026:72506 · Nov 23, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:34975 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:29017 · Nov 23, 2026 Critical
- Security update for curl · SUSE · SUSE-SU-2026:5071-1 · Nov 3, 2026 Critical
- Security update for curl · SUSE · SUSE-SU-2026:5069-1 · Nov 3, 2026 Critical
- Security update for curl · SUSE · SUSE-SU-2026:5068-1 · Nov 3, 2026 Critical
Also: Red Hat (+2), SUSE (+9)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- curl.se Patch Vendor Advisory
- curl.se Vendor Advisory
- hackerone.com Exploit Issue Tracking Third Party Advisory