CVE-2016-5725Jcraft Jsch
Medium 5.9 No auth neededHigh EPSS
Follow: this CVE · Jcraft · Jcraft Jsch We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.0
- 5.9
- EPSS
- 24.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Jan 19, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Jsch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.jcraft:jsch |
< 0.1.54 |
0.1.54 |
— |
Per OSV / GitHub Advisories (GHSA-q446-82vq-w674). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jcraft | jsch | ≤ 0.1.53 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- seclists.org Mailing List Third Party Advisory
- www.jcraft.com Release Notes
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- github.com Third Party Advisory
- lists.debian.org
- www.exploit-db.com Third Party Advisory VDB Entry
- www.oracle.com
- www.oracle.com
- www.oracle.com