Directory Traversal Affecting libmina-sshd-java package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.57% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBMINASSHDJAVA-18507883
  • published2 Aug 2026
  • disclosed20 Jul 2026

Introduced: 20 Jul 2026

NewCVE-2026-56452  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest libmina-sshd-java.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libmina-sshd-java package and not the libmina-sshd-java package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH.

The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A malicious sender could send filenames containing paths, resulting in files to be written in attacker-controlled places.

The issue affects only

  • applications that use no longer supported Apache MINA SSHD versions < 2.0.0 and use the SCP functions to receive files,
  • or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files.

Applications using Apache MINA SSHD >= 2.0.0 not using sshd-scp are not affected.

The issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.

CVSS Base Scores

version 3.1