What’s Vulnerable › Vulnerabilities

CVE-2025-15224: libssh key passphrase bypass without agent set

Description

When doing SSH-based transfers using either SCP or SFTP, and asked to do public key authentication, curl would wrongly still ask and authenticate using a locally running SSH agent.

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-15224 or the next vulnerability affects your stack