{"id":"CVE-2016-5725","aliases":["GHSA-q446-82vq-w674"],"url":"https://o3.security/vulnerability/CVE-2016-5725","summary":"Improper Limitation of a Pathname to a Restricted Directory in JCraft JSch","details":"Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allows remote SFTP servers to write to arbitrary files via a ..\\ (dot dot backslash) in a response to a recursive GET command.","published":"2017-01-19T22:59:00.150Z","modified":"2026-04-16T06:20:40.157354920Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Maven","name":"com.jcraft:jsch","fixedVersion":"0.1.54"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/04/msg00017.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2021.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/138809/jsch-0.1.53-Path-Traversal.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2016/Sep/53"},{"type":"ADVISORY","url":"http://www.jcraft.com/jsch/ChangeLog"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:3115"},{"type":"ADVISORY","url":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93100"},{"type":"ADVISORY","url":"https://www.exploit-db.com/exploits/40411/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:20:40.157354920Z"}}