---
id: CVE-2025-15224
title: |-
  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.
summary: |-
  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.
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-287
vendor: haxx
product: curl
affected:
  - 'curl >= 7.58.0, < 8.18.0'
patched:
  - curl 8.18.0
published: '2026-01-08'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:24.690'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-15224'
references:
  - url: 'https://curl.se/docs/CVE-2025-15224.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2025-15224.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3480925'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'http://www.openwall.com/lists/oss-security/2026/01/07/7'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-01-08T14:38:20.832987Z'
epss: 0.00486
epssPercentile: 0.40979
ingestedAt: '2026-09-15T07:33:29.261Z'
---

## Overview

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.

## Affected

- `curl >= 7.58.0, < 8.18.0`

## Remediation

Upgrade past the affected range:

- `curl 8.18.0`
