CVE-2025-15224
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-08

Last updated on: 2026-01-20

Assigner: curl

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-08
Last Modified
2026-01-20
Generated
2026-05-07
AI Q&A
2026-01-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
haxx curl From 7.58.0 (inc) to 8.18.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in curl versions 7.58.0 through 8.17.0 when using the libssh backend. During SSH-based transfers with SCP or SFTP that request public key authentication, curl incorrectly attempts to authenticate using a locally running SSH agent even if no agent is explicitly set. This happens due to libssh's API design which falls back to agent authentication. Authentication only succeeds if the local SSH agent has the correct passphrase. This is classified as an improper authentication issue (CWE-287) with low severity. [1, 2]


How can this vulnerability impact me? :

The vulnerability can lead to unintended authentication attempts using a local SSH agent during SCP or SFTP transfers, potentially allowing authentication without explicit user intent if the local SSH agent holds the correct passphrase. Although the severity is low and no active exploits are known, it could result in unauthorized access if the local SSH agent is compromised or misused. [1, 2]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

You can detect this vulnerability by checking the version of curl installed on your system. The vulnerability affects curl versions from 7.58.0 through 8.17.0 when built with the libssh backend. To check the curl version, use the command: `curl --version`. If the version falls within the affected range and uses libssh, your system is vulnerable. Additionally, monitoring SSH-based transfers using SCP or SFTP for unexpected authentication attempts via a local SSH agent may help detect exploitation attempts. However, no specific detection commands for active exploitation are provided. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include upgrading curl to version 8.18.0 or later, where the vulnerability is fixed. Alternatively, you can rebuild curl using the libssh2 backend instead of libssh, or avoid using SCP or SFTP for SSH-based transfers until the update is applied. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart