CVE Explorer
CVE-2026-12064
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"curl","vendor":"curl","versions":[{"lessThanOrEqual":"8.20.0","status":"affected","version":"8.20.0","versionType":"semver"},{"lessThanOrEqual":"8.19.0","status":"affected","version":"8.19.0","versionType":"semver"},{"lessThanOrEqual":"8.18.0","status":"affected","version":"8.18.0","versionType":"semver"},{"lessThanOrEqual":"8.17.0","status":"affected","version":"8.17.0","versionType":"semver"},{"lessThanOrEqual":"8.16.0","status":"affected","version":"8.16.0","versionType":"semver"},{"lessThanOrEqual":"8.15.0","status":"affected","version":"8.15.0","ve…
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"description":"CWE-297 Improper Validation of Certificate with Host Mismatch","lang":"en"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"www","url":"https://curl.se/docs/CVE-2026-12064.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/cna/references/1
{"name":"json","url":"https://curl.se/docs/CVE-2026-12064.json"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/cna/references/0
{"name":"issue","url":"https://hackerone.com/reports/3797526"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://hackerone.com/reports/3797526"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a2895d02d18b7e5dad13157c8781ff39191e27da4728fd5099b3c0819ffec91e · sha256:f1ba680ca91312c7… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.