Path traversalin the com.jcraft:jsch package.
Proof of concept public (Exploit-DB).
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.
- Upgrade com.jcraft:jsch (Maven) to 0.1.54 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 18 Jun 2016CVE ID reserved by mitre.
- 19 Jan 2017Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
- seclists.org mailing-list, x_refsource_FULLDISC
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.debian.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- github.com x_refsource_MISC
- www.jcraft.com x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2016-5725: Path traversal in the com.jcraft:jsch package. https://patchminder.com/cve/cve-2016-5725/ (accessed 5 December 2026).