---
schema_version: '1.0'
id: security-20260705-f8defc
url: https://osv.dev/vulnerability/CURL-CVE-2026-12064
url_hash: f8defc827dd51c070353f9db894de8a1477c96e6fa783d98ed77d6fcf17a65c0
canonical_url: https://osv.dev/vulnerability/CURL-CVE-2026-12064
source: osv:osv
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-12064
- CURL-CVE-2026-12064
- severity:Low
- https://github.com/curl/curl
- GIT
lang: en
published_at: '2026-06-24T08:00:00Z'
fetched_at: '2026-07-05T15:34:34Z'
updated_at: '2026-07-05T15:37:46Z'
status: published
content_hash: 27844bbd7d1674d0c6767e6486df2b22b8f045529e973048772320c454790fee
license_note: full
summary: proto-default skips SSH verification
summary_source: rss
summary_en: proto-default skips SSH verification
entities:
- name: GitHub
  type: organization
- name: Verification
  type: method
key_facts: []
related: []
related_auto:
- name: Anonymous
  type: organization
  weight: 1.0
- name: AirPods
  type: artifact
  weight: 1.0
- name: Claude Code
  type: artifact
  weight: 1.0
- name: セッション漏洩
  type: event
  weight: 1.0
- name: local-llm
  type: content
  weight: 1.0
title: 'CVE-2026-12064: proto-default skips SSH verification'
---

# CVE-2026-12064: proto-default skips SSH verification

## TL;DR
proto-default skips SSH verification

## Key Points
- cve / CVE-2026-12064 / CURL-CVE-2026-12064 / severity:Low / https://github.com/curl/curl / GIT

## Details
**Severity:** Low
**Advisory:** CURL-CVE-2026-12064 (CVE-2026-12064)

**Affected (your watchlist):**
- `GIT:https://github.com/curl/curl` curl-8_9_1 → no fixed version listed [mac]

**Details:**
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.

_Data: OSV.dev (upstream: osv) — https://osv.dev/vulnerability/CURL-CVE-2026-12064_

## Source
元記事: [CVE-2026-12064: proto-default skips SSH verification](https://osv.dev/vulnerability/CURL-CVE-2026-12064) — published 2026-06-24T08:00:00Z
