---
schema_version: '1.0'
id: security-20260705-536aef
url: https://osv.dev/vulnerability/CURL-CVE-2026-9547
url_hash: 536aefc01c12e4145e677c0e0f92a7ff96eb90d2351d9f558cdc920ba7ba5a6c
canonical_url: https://osv.dev/vulnerability/CURL-CVE-2026-9547
source: osv:osv
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-9547
- CURL-CVE-2026-9547
- 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:39:10Z'
status: published
content_hash: f1b64b42dcb32af30694e07f31ac9c6942d103e31c0820192ac370d008e2b09e
license_note: full
summary: SSH improper host validation
summary_source: rss
summary_en: SSH improper host validation
entities:
- name: GitHub
  type: organization
- name: Ghost
  type: creature
- name: precision and validation
  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-9547: SSH improper host validation'
---

# CVE-2026-9547: SSH improper host validation

## TL;DR
SSH improper host validation

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

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

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

**Details:**
When a libcurl-based application performs transfers via `SCP://` or `SFTP://`
and utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an
untrusted server. This vulnerability occurs when a server presents a host key
type that does not match the specific key type already recorded for that host
in the `known_hosts` file. Instead of rejecting the mismatch, the callback
mechanism fails to properly enforce the restriction, allowing the connection
to succeed without warning and risking a potential man-in-the-middle attack.

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

## Source
元記事: [CVE-2026-9547: SSH improper host validation](https://osv.dev/vulnerability/CURL-CVE-2026-9547) — published 2026-06-24T08:00:00Z
