CVE-2025-15224
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-15224, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2026-01-08
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Executive Summary

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]

Impact Analysis

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]

Detection Guidance

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]

Mitigation Strategies

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]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-15224. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart