{"id":"CVE-2025-15079","title":"When doing SSH-based transfers using either SCP or SFTP, and setting the\nknown_hosts file, libcurl could still mistakenly accept connecting to hosts\n*not present* in the specified file if they were added as recognized in the\nlibssh *glob…","summary":"When doing SSH-based transfers using either SCP or SFTP, and setting the\nknown_hosts file, libcurl could still mistakenly accept connecting to hosts\n*not present* in the specified file if they were added as recognized in the\nlibssh *glob…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","cwe":["CWE-297"],"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.467","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-15079","references":[{"url":"https://curl.se/docs/CVE-2025-15079.html","label":"2499f714-1537-4658-8207-48ae4bb9eae9"},{"url":"https://curl.se/docs/CVE-2025-15079.json","label":"2499f714-1537-4658-8207-48ae4bb9eae9"},{"url":"https://hackerone.com/reports/3477116","label":"2499f714-1537-4658-8207-48ae4bb9eae9"},{"url":"http://www.openwall.com/lists/oss-security/2026/01/07/6","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:45:34.542278Z"},"epss":0.00537,"epssPercentile":0.44003,"ingestedAt":"2026-09-15T07:33:29.260Z","slug":"CVE-2025-15079","body":"## Overview\n\nWhen doing SSH-based transfers using either SCP or SFTP, and setting the\nknown_hosts file, libcurl could still mistakenly accept connecting to hosts\n*not present* in the specified file if they were added as recognized in the\nlibssh *global* known_hosts file.\n\n## Affected\n\n- `curl >= 7.58.0, < 8.18.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `curl 8.18.0`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[]}