---
schema_version: '1.0'
id: security-20260709-110ac1
url: https://osv.dev/vulnerability/CVE-2026-12064
url_hash: 110ac1fdd6e69b0a0e98882175920b7ea919eaa69041cd99d770a6dcd0e1f5fa
canonical_url: https://osv.dev/vulnerability/CVE-2026-12064
source: osv:nvd
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-12064
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- https://github.com/curl/curl
- GIT
lang: en
published_at: '2026-07-03T06:13:55Z'
fetched_at: '2026-07-09T15:38:26Z'
updated_at: '2026-07-09T15:38:50Z'
status: published
content_hash: 5bb4dc832a078ef2b1791b712cdaa16dc59d4fd520a23034741b177f678e1567
license_note: full
summary: proto-default skips SSH verification
summary_source: rss
summary_en: proto-default skips SSH verification
entities:
- name: CVE-2022-26925
  type: event
- name: GitHub
  type: organization
- name: GrowUpsShow
  type: organization
- name: Verification
  type: method
key_facts: []
related: []
related_auto:
- name: GitLost
  type: concept
  weight: 4.0
- name: Windowsローカルセキュリティ認証機関(LSA
  type: location
  weight: 1.0
- name: AI Agent
  type: concept
  weight: 1.0
- name: Hy3
  type: artifact
  weight: 1.0
- name: OpenClaw
  type: artifact
  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 / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N / https://github.com/curl/curl / GIT

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
**Advisory:** 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.

**References:**
- https://curl.se/docs/CVE-2026-12064.html
- https://curl.se/docs/CVE-2026-12064.json
- https://hackerone.com/reports/3797526
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12064.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-12064

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

## Source
元記事: [CVE-2026-12064: proto-default skips SSH verification](https://osv.dev/vulnerability/CVE-2026-12064) — published 2026-07-03T06:13:55Z
