Vulnerability · Published Jan 8, 2026 · Assigned by curl

CVE-2025-15224libssh key passphrase bypass without agent set

Low 3.1

In plain English

A low-severity improper authentication in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.5%top 58.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24curl0ALPINE-CVE-2025-15224
Debian:12curlno fix listedDEBIAN-CVE-2025-15224
Debian:13curlno fix listedDEBIAN-CVE-2025-15224
Debian:14curl8.18.0-1DEBIAN-CVE-2025-15224
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22USN-8062-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22UBUNTU-CVE-2025-15224
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7USN-8062-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7UBUNTU-CVE-2025-15224
Ubuntu:25.10curl8.14.1-2ubuntu1.1USN-8062-1

Affected products (as reported)

VendorProductVersions
curl curl 7.58.0 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.18.0
curl curl c92d2e14cfb0db662f958effd2ac86f995cf1b5a – before 16d5f2a5660c61cc27bd5f1c7f512391d1c927aa
curl curl 8.17.08.16.08.15.08.14.18.14.08.13.08.12.18.12.0

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

References