What’s Vulnerable › Vulnerabilities

CVE-2025-15079: libssh global known_hosts override

Description

When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file.

Affected products

How to fix

Upgrade to a fixed version: curl 8.18.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-15079 or the next vulnerability affects your stack