CVE-2025-15224 libssh key passphrase bypass without agent set
Attackers can bypass SSH key passphrase protection by exploiting curl's incorrect SSH agent handling during SCP or SFTP transfers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-15224?
CVE-2025-15224 is a low-severity authentication bypass vulnerability in Haxx Curl, published on 8 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-287
Which versions are affected by CVE-2025-15224?
It affects 1 product.
Products include Haxx Curl.
How do I fix CVE-2025-15224?
Apply the vendor's patch.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-15224 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15224 exists.
Other vulnerabilities in Haxx Curl
Sources
Also known as CLSA-2026-1773405202, CLSA-2026-1773405854, CLSA-2026-1773412568, CLSA-2026-1773653586, CURL-CVE-2025-15224, DEBIAN-CVE-2025-15224 and 5 more.