Skip to content
WatchlistMedium

CVE-2016-5725Jsch Path Traversal

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 Jan 19, 2017 · Updated Nov 5, 2026 · Also known as CGA-295q-2hp8-9qh8, CGA-2g2f-h7gx-r3pw, CGA-393r-fxmq-g6j7, CGA-39g7-8hf3-r65m, CGA-3hvm-727v-5r8f, CGA-469j-75c5-q35r, CGA-5cmx-9mxr-862q, CGA-5gr8-2mcg-gq6q, CGA-6664-66r9-8v22, CGA-6c6g-p3pr-5r6c, CGA-6vh8-7wfq-45h6, CGA-7264-prgg-gmrv, CGA-75wc-w75v-xq85, CGA-78x6-8vg4-q8gr, CGA-7hww-784x-mcmf, CGA-7x9q-c88f-5fw9, CGA-84wr-8jf4-pm82, CGA-873h-9r8v-xwc7, CGA-8mc5-p83f-rhx7, CGA-8mjf-c354-mqvq, CGA-937p-72gp-c7hj, CGA-956w-2jjf-2593, CGA-fpxr-fg77-744r, CGA-fr53-gc85-v2pw, CGA-g2vp-wm55-mxw9, CGA-g989-3hpp-8hvw, CGA-ghrc-96h3-9wr8, CGA-gpq3-53mx-jj5j, CGA-gq26-cpcr-jhpm, CGA-gqxc-j78x-vfwm, CGA-gw55-qxv7-jwrg, CGA-gx59-f2jv-5fv9, CGA-j36v-6pjm-2wcw, CGA-jmq6-xjvv-cv2r, CGA-m337-r87p-p3cc, CGA-mpjg-27q2-45rr, CGA-p2xf-x758-wv7h, CGA-p94j-qm2v-8452, CGA-pf7q-9c25-gr4c, CGA-pvg4-69wp-7vv6, CGA-qpfq-hj5r-99fq, CGA-qrg5-hmfh-g683, CGA-qv6w-rxx6-fm94, CGA-r3g4-g4mv-p54c, CGA-r5mj-73mj-gjm7, CGA-r777-2h9r-gc49, CGA-rmx7-fj6j-ggjv, CGA-v88p-g73f-jw34, CGA-vf8j-7vfg-5x4f, CGA-vv6w-7rqx-55jq, CGA-w4x5-rcfp-57w2, CGA-w633-gvm6-782j, CGA-w739-c4fg-v9vg, CGA-wg3m-cx62-f35g, CGA-wjv4-vq8w-xm9g, CGA-wq3g-xmfc-pvxg, CGA-xh4p-7hp7-rg7v, CGA-xrxf-8r4m-5cfc, DEBIAN-CVE-2016-5725, DLA-2184-1, DLA-611-1, GHSA-q446-82vq-w674, MGASA-2016-0311, SUSE-SU-2017:0715-1

Key Facts

Routine patching
  • CVE-2016-5725 is a medium-severity vulnerability (CVSS 5.9 v3.1) affecting Jsch (Jcraft), eco-java-gradle-1.11 (chainguard), eco-java-gradle-2.0 (chainguard) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 24% probability of exploitation in the next 30 days.
  • Fixed versions are available, including com.jcraft:jsch 0.1.54, hadoop-fips-3.3.6 3.3.6-r15, hadoop-fips-3.3.6 3.3.6-r21.
  • Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.

Scores

CVSS v3.1

5.9

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS (30-day exploit likelihood)

24%

Higher than 97.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

35/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

73 affected entries in total
ProductAffected versionsFixed in
JschJcraftSee advisory0.1.53
eco-java-gradle-1.11chainguardSee advisoryn/a
eco-java-gradle-2.0chainguardSee advisoryn/a
eco-java-gradle-2.10chainguardSee advisoryn/a
eco-java-gradle-2.11chainguardSee advisoryn/a
20 more affected products in the full CVE brief

Patched Releases

com.jcraft:jsch

0.1.54

hadoop-fips-3.3.6

3.3.6-r15, 3.3.6-r21

Jsch

0.1.53, 0.1.42-2+deb7u1, 0.1.51-1+deb8u1, 0.1.51-4.1.mga5, 0.1.54-1, 0.1.54-3.1

Timeline

  1. Publicly disclosed

    Jan 19, 2017

  2. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

FAQ

Common Questions.

Is CVE-2016-5725 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.