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.
{
"www": "https://curl.se/docs/CVE-2025-15224.html",
"award": {
"currency": "USD",
"amount": "505"
},
"severity": "Low",
"package": "curl",
"issue": "https://hackerone.com/reports/3480925",
"CWE": {
"desc": "Improper Authentication",
"id": "CWE-287"
},
"last_affected": "8.17.0",
"affects": "both",
"URL": "https://curl.se/docs/CVE-2025-15224.json"
}"https://curl.se/docs/CURL-CVE-2025-15224.json"
[
{
"id": "CURL-CVE-2025-15224-033ee4f3",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"337262313970074737453338367532951466252",
"46069144459358805518002731792779817820",
"337043642436947932103732278509571346745",
"246589094509234476330085444524293239740"
]
},
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/16d5f2a5660c61cc27bd5f1c7f512391d1c927aa",
"target": {
"file": "lib/vssh/libssh.c"
},
"deprecated": false
},
{
"id": "CURL-CVE-2025-15224-8feaaea3",
"signature_type": "Function",
"digest": {
"function_hash": "181628593045526552189522815583285938079",
"length": 1556.0
},
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/16d5f2a5660c61cc27bd5f1c7f512391d1c927aa",
"target": {
"function": "myssh_in_AUTHLIST",
"file": "lib/vssh/libssh.c"
},
"deprecated": false
}
]