CVE-2026-9547CWE-297

CVE-2026-9547

High · published July 3, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
24.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00325 · 24.3th percentile
Weakness
CWE-297 · Improper Validation of Certificate with Host Mismatch
Published
2026-07-03T11:16Z
Affected products (1)
ProductVersionsFixed in
haxx/curl≥ 7.69.0, < 8.21.08.21.0
References (4)
EPSS history
Timeline
  • 03 JUL 06:18Z
    SSH improper host validation
    cvelistv5