CVE-2025-15224: libssh key passphrase bypass without agent set
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 8.22.0-1Fixed in 8.23.0-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-15224?
CVE-2025-15224 is rated as a medium severity vulnerability.
How do I fix CVE-2025-15224?
To fix CVE-2025-15224, update your curl application to the latest version that has addressed this vulnerability.
What impact does CVE-2025-15224 have on SSH-based transfers?
CVE-2025-15224 can lead to incorrect public key authentication process during SSH-based transfers using SCP or SFTP.
Which versions of curl are affected by CVE-2025-15224?
CVE-2025-15224 affects specific versions of curl that have not implemented the fix for this vulnerability.
Can CVE-2025-15224 be exploited remotely?
CVE-2025-15224 does not appear to allow for remote exploitation but affects the authentication method when used locally.