CVE-2016-5725: Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWR
CVE-2016-5725 is a medium-severity flaw (CVSS 5.9) affecting jsch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 24.1% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2017-01-19 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-5725?
jsch: upgrade to newer than 0.1.53. Exact commands for each OS are on this page.
Is CVE-2016-5725 being exploited?
CVE-2016-5725 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-5725 affect?
CVE-2016-5725 affects jsch. Severity is medium (CVSS 5.9). 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
How urgent is CVE-2016-5725?
Priority 55/100. EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action