CVE-2025-15224 Details
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.
A vulnerability exists in curl and libcurl versions 7.58.0 through 8.17.0, when the application is built with the libssh backend. During SSH transfers via SCP or SFTP, curl incorrectly defaults to using a local SSH agent for public key authentication, bypassing the need for the key passphrase. This issue arises from an unexpected behavior in the libssh API, which falls back on agent authentication. As a result, if the SSH agent has the correct passphrase, authentication succeeds, even when the agent option is not explicitly set.
Users can upgrade to curl version 8.18.0 or later, or build curl with the libssh2 backend to avoid this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://curl.se/docs/CVE-2025-15224.html | curl | PatchVendor Advisory |
| https://curl.se/docs/CVE-2025-15224.json | curl | Vendor Advisory |
| https://hackerone.com/reports/3480925 | curl | ExploitIssue TrackingThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/01/07/7 | CVE | Mailing ListPatchThird Party Advisory |
Weakness Enumeration
Affected Products
| Product | Versions |
|---|---|
| haxx curl | >= 7.58.0, < 8.18.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Sep 15, 2026 | CVE Modified | CVE |
| Sep 15, 2026 | CVE Modified | curl |
| Jun 17, 2026 | CVE Modified | curl |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2026 | CVE Modified | CVE |
| Jan 8, 2026 | New CVE Received | curl |