{"schemaVersion":3,"id":"CVE-2026-59995","aliases":["ALPINE-CVE-2026-59995","UBUNTU-CVE-2026-59995","DEBIAN-CVE-2026-59995"],"status":"published","duplicateOf":null,"title":null,"description":"sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when \"sftp server:/path .\" is used with an attacker-controlled server.","dates":{"published":"2026-07-08T00:04:49.995Z","modified":"2026-07-08T12:52:35.500Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0025,"percentile":0.15338,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0025},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0025,"percentile":0.15338}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0025,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0025,"percentile":0.15338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"}],"affected":[{"vendor":"alpine","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/openssh","purlType":"apk","versions":[{"text":"< 10.3_p1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.3_p1-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openssh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:10.4p1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:10.4p1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openssh","purlType":"deb","versions":[{"text":"< 1:6.6p1-2ubuntu2.13+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:7.2p2-4ubuntu2.10+esm10","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:7.6p1-4ubuntu0.7+esm6","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.2p1-4ubuntu0.13+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.9p1-3ubuntu0.16","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.9p1-3ubuntu0.16+Fips3","noFixRecorded":false,"fixedIn":null},{"text":"< 1:9.6p1-3ubuntu13.18","noFixRecorded":false,"fixedIn":null},{"text":"< 1:9.6p1-3ubuntu13.18+Fips1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:10.2p1-2ubuntu3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:6.6p1-2ubuntu2.13+esm4 | < 1:7.2p2-4ubuntu2.10+esm10 | All versions (No fix recorded) | < 1:7.6p1-4ubuntu0.7+esm6 | < 1:8.2p1-4ubuntu0.13+esm3 | < 1:8.9p1-3ubuntu0.16 | < 1:8.9p1-3ubuntu0.16+Fips3 | < 1:9.6p1-3ubuntu13.18 | < 1:9.6p1-3ubuntu13.18+Fips1 | < 1:10.2p1-2ubuntu3.4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openssh-ssh1","name":"openssh-ssh1","label":"openssh-ssh1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openssh-ssh1","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"openbsd","product":"openssh","name":"openssh","label":"openssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.4","eol":null,"hubHref":"/vendor/openbsd/openssh"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.openwall.com/lists/oss-security/2026/07/06/5","label":"www.openwall.com/lists/oss-security/2026/07/06/5","hostname":"www.openwall.com","tags":["Mailing List","Release Notes"]},{"url":"https://marc.info/?l=openssh-unix-dev&m=178333966933090&w=2","label":"marc.info?l=openssh-unix-dev&m=178333966933090&w=2","hostname":"marc.info","tags":["Release Notes"]},{"url":"https://www.openssh.org/releasenotes.html#10.4p1","label":"www.openssh.org/releasenotes.html","hostname":"www.openssh.org","tags":["REPORT","Release Notes"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-59995","label":"security.alpinelinux.org/vuln/CVE-2026-59995","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-59995","label":"ubuntu.com/security/CVE-2026-59995","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59995","label":"www.cve.org/CVERecord?id=CVE-2026-59995","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8533-1","label":"ubuntu.com/security/notices/USN-8533-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8804-1","label":"ubuntu.com/security/notices/USN-8804-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59995","label":"security-tracker.debian.org/tracker/CVE-2026-59995","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59995","label":"nvd.nist.gov/vuln/detail/CVE-2026-59995","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0521","OPENSUSE-SU-2026:21477-1","RHSA-2026:37382","RHSA-2026:69129","RHSA-2026:69130","RHSA-2026:69266","RHSA-2026:76748","RHSA-2026:76993","RHSA-2026:80513","SUSE-SU-2026:22978-1","SUSE-SU-2026:3605-1","USN-8533-1","USN-8804-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21477-1","SUSE-SU-2026:22978-1","SUSE-SU-2026:3605-1","USN-8533-1","USN-8804-1"]},"timeline":[{"kind":"published","date":"2026-07-08T00:04:49.995Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-08T12:52:35.500Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:31:46.071Z","stale":false,"partial":false}}