CVE-2025-15224Published Jan 8, 2026 · Jan 8Updated Oct 28
libssh key passphrase bypass without agent set
curl
Low3.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| curl curl |
| No fix yet |
| curl curl |
| No fix yet |
| curl curl |
|
curl
| Product | Affected | Fixed in |
|---|---|---|
| curl curl |
| No fix yet |
| curl curl |
| No fix yet |
| curl curl |
|
8.16.08.15.08.14.18.14.08.13.0| No fix yet |
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.
From the CVE record · curl
During SCP or SFTP transfers that request public key authentication, curl can still authenticate using a locally running SSH agent. The remote SSH endpoint may receive an SSH-agent-backed authentication attempt that was not intended.
Anyone using curl for SCP or SFTP transfers with public key authentication should check their installation; affected versions were not specified.