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