AI Science Tracker

libcurl SSH host-key type mismatch accepted

libcurl SCP/SFTP with libssh backend and CURLOPT_SSH_KEYFUNCTION · AI involvement attributed to AISLE autonomous AI vulnerability detection system (model versions not disclosed)

Finding and attribution

With the libssh backend and a host-key callback, a server key type mismatch against `known_hosts` may be accepted, creating a man-in-the-middle risk.

Product: libcurl SCP/SFTP with libssh backend and CURLOPT_SSH_KEYFUNCTION. AI system: AISLE autonomous AI vulnerability detection system (model versions not disclosed). Team / organization: AISLE.

CVE identifiers: CVE-2026-9547.

AI and human contribution (source account): AISLE’s June 24 report says it used its autonomous AI vulnerability-detection capability to analyze curl and individually lists this CVE among six AISLE-discovered findings. The report states AISLE reported the cases through Joshua Rogers; curl’s advisory independently credits Joshua Rogers (Aisle Research) as reporter. Exact private discovery dates and model versions are not stated.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The curl vendor advisory and AISLE AI-attribution report were published with curl 8.21.0 on June 24, 2026. The vendor’s severity and configuration conditions are preserved; no in-the-wild exploitation claim is made.

Remediation status: fix documented. curl/libcurl 8.21.0 or patched maintained branches (8.20.1, 8.16.1 or 8.14.2); using the libssh2 backend avoids this specific issue. The vendor limits the defect to libssh; it says the libssh2 backend is unaffected and the curl command-line tool is not affected.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 24 Jun 2026. AI attribution dated 24 Jun 2026. Sources checked 15 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 7.4. Documented technical effects: other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-9547: other.
Prerequisites / affected scope: 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..
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: curl/libcurl 8.21.0 or patched maintained branches (8.20.1, 8.16.1 or 8.14.2); using the libssh2 backend avoids this specific issue. The vendor limits the defect to libssh; it says the libssh2 backend is unaffected and the curl command-line tool is not affected.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases