Description
When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file.
Affected products
haxx: curl
References4
- curl.se/docs/CVE-2025-15079.html PatchVendor Advisory
- curl.se/docs/CVE-2025-15079.json Vendor Advisory
- www.openwall.com/lists/oss-security/2026/01/07/6 Mailing ListPatchThird Party Advisory
- hackerone.com/reports/3477116 ExploitIssue TrackingThird Party Advisory
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 46 · as of 11 November 2026
- CWE
- CWE-297
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.