JLSEC-2026-1222
JSON

7.4high

When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the ...

Severity
7.4high CVSS:3.1 by Julia Security Advisories
Published
Last changed

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

Product or packageVersionsReported by
CURL_jll (Julia)before 8.21.0+0Julia Security Advisories
LibCURL_jll (Julia)from 7.70.0+0 before 8.21.0+0Julia Security Advisories

References

Related

Sources

SourceRecordLicence
Julia Security AdvisoriesJLSEC-2026-1222 changed 2026-08-07CC-BY-4.0