Live threats

All CVEs / Jcraft

CVE-2016-5725Jcraft Jsch

Medium 5.9 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jsch.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
jcraftjsch≤ 0.1.53

Official sources

References

Links published by the sources. Open them with care.