Skip to content
CVE PROGRAM SOURCE RECORD7.4 High

CVE-2026-9547

SSH improper host validation

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

curl curl

Default version status: unaffected

  • 7.69.0 to < 8.14.2affected
  • 8.15.0 to < 8.16.1affected
  • 8.17.0 to < 8.20.1affected

curl curl

Default version status: unaffected

  • 507cf6a13db0375eadd4655b4c64710db29e9cf2 to < 0b8dbbc63c98777e4584cb9fbd71df3464008ad1affected

curl curl

Default version status: unaffected

  • 8.20.0affected
  • 8.19.0affected
  • 8.18.0affected
  • 8.17.0affected
  • 8.16.0affected
  • 8.15.0affected
  • 8.14.1affected
  • 8.14.0affected
  • 8.13.0affected
  • 8.12.1affected
  • 8.12.0affected
  • 8.11.1affected
  • 8.11.0affected
  • 8.10.1affected
  • 8.10.0affected
  • 8.9.1affected
  • 8.9.0affected
  • 8.8.0affected
  • 8.7.1affected
  • 8.7.0affected
  • 8.6.0affected
  • 8.5.0affected
  • 8.4.0affected
  • 8.3.0affected
  • 8.2.1affected
  • 8.2.0affected
  • 8.1.2affected
  • 8.1.1affected
  • 8.1.0affected
  • 8.0.1affected
  • 8.0.0affected
  • 7.88.1affected
  • 7.88.0affected
  • 7.87.0affected
  • 7.86.0affected
  • 7.85.0affected
  • 7.84.0affected
  • 7.83.1affected
  • 7.83.0affected
  • 7.82.0affected
  • 7.81.0affected
  • 7.80.0affected
  • 7.79.1affected
  • 7.79.0affected
  • 7.78.0affected
  • 7.77.0affected
  • 7.76.1affected
  • 7.76.0affected
  • 7.75.0affected
  • 7.74.0affected
  • 7.73.0affected
  • 7.72.0affected
  • 7.71.1affected
  • 7.71.0affected
  • 7.70.0affected
  • 7.69.1affected
  • 7.69.0affected

References