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.
{
"CWE": {
"id": "CWE-287",
"desc": "Improper Authentication"
},
"severity": "Low",
"www": "https://curl.se/docs/CVE-2025-15224.html",
"affects": "both",
"award": {
"currency": "USD",
"amount": "505"
},
"URL": "https://curl.se/docs/CVE-2025-15224.json",
"issue": "https://hackerone.com/reports/3480925",
"package": "curl",
"last_affected": "8.17.0"
}