{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12064 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-12064 is a high-severity vulnerability in Haxx Curl, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12064 and fix it if it is affected.\n\nWhat it is: CVE-2026-12064 is a high-severity vulnerability in Haxx Curl, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12064 exists.\n\nAffected product: Haxx Curl. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12064/ (Markdown: https://insights.sbomify.com/CVE-2026-12064/index.md)","id":"CVE-2026-12064","markdown":"https://insights.sbomify.com/CVE-2026-12064/index.md","name":"CVE-2026-12064","record":{"aliases":["ALPINE-CVE-2026-12064","AZL-91812","BELL-CVE-2026-12064","CURL-CVE-2026-12064","DEBIAN-CVE-2026-12064","ECHO-2ea7-d2c8-d549","GHSA-jm94-9f7h-36pr","JLSEC-2026-1202","MINI-57vg-25pp-5hq8","MINI-7qgx-477r-f5v8","ROOT-OS-ALPINE-315-CVE-2026-12064","ROOT-OS-ALPINE-320-CVE-2026-12064","ROOT-OS-ALPINE-321-CVE-2026-12064","ROOT-OS-ALPINE-322-CVE-2026-12064","ROOT-OS-DEBIAN-11-CVE-2026-12064","ROOT-OS-DEBIAN-12-CVE-2026-12064","ROOT-OS-DEBIAN-13-CVE-2026-12064","UBUNTU-CVE-2026-12064"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"curl command line tool","requires_auth":"none","summary":"Attackers can bypass SSH host verification when curl uses schemeless URLs with specific protocol defaults, allowing connections to unverified hosts.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"curl","cpe":[{"product":"curl","vendor":"haxx"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"},{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"description":"When a user invokes curl using a schemeless URL combined with\n`--proto-default` sftp (or scp), a disconnect occurs between the tool layer\nand libcurl. The tool layer incorrectly infers the URL scheme, which\nerroneously bypasses the initialization of critical SSH security options like\nCURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the\nlibcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes\nthe connection via SFTP/SCP as specified. Because the tool layer skipped the\nsecurity configuration, these SSH host verification options are silently\nomitted, causing curl to connect to an unverified SSH remote host without\nthrowing an error.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"proto-default skips SSH verification","id":"CVE-2026-12064","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"haxx:curl","products":["haxx:curl"],"type":"security_feature_bypass","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Groww Stock, Mutual Fund, Gold App WebView URL improper authorization in handler for custom url scheme","id":"CVE-2026-12065"},"packages":[],"prev":{"headline":"Hepta Platforms｜Heptabase - Exposed Dangerous","id":"CVE-2026-12060"},"products":["curl"],"published":"2026-07-03","related":[{"cvss_score":9.8,"headline":"Negotiate ambient user conn reuse","id":"CVE-2026-19931","kev_date_added":null,"published":"2026-09-06"},{"cvss_score":9.8,"headline":"HTTP/2 stream-dependency tree UAF","id":"CVE-2026-10536","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"cross-origin Digest auth state leak","id":"CVE-2026-11856","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"SASL double-free","id":"CVE-2026-8925","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"stale proxy password leak","id":"CVE-2026-9079","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"Code injection in curl","id":"CVE-2016-4606","kev_date_added":null,"published":"2020-02-21"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2016-9953","kev_date_added":null,"published":"2018-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["curl"]},"summary":"Attackers can bypass SSH host verification when curl uses schemeless URLs with specific protocol defaults, allowing connections to unverified hosts.","url":"https://insights.sbomify.com/CVE-2026-12064/"}