Skip to content

CVE-2026-56452 Apache MINA SSHD: Path traversal in SCP file reception

HighCVSS 7.5 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

10 packages: 3 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/libmina-sshd-java(Debian 13) = 2.13.2-2; = 2.13.2-3; = 2.19.0-1; = 2.20.1-1 +1 more No fix listed No fix yet
ubuntu/mina(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/mina(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.10) All versions No fix listed No fix yet
apache mina sshd = 3.0.0-m1; = 3.0.0-m2; = 3.0.0-m3; = 3.0.0-m4 +1 more 2.19.0 Fixed
debian/libmina-sshd-java(Debian 14) < 2.19.0-1; = 2.13.2-2; = 2.13.2-3 2.19.0-1 Fixed
org.apache.sshd/sshd-scp(Maven) <= 2.18.0; >= 3.0.0-M1, <= 3.0.0-M4 after 2.18.0, 3.0.0-M4 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.sshd/sshd-scp(Maven) <= 2.18.0 No fix listed
org.apache.sshd/sshd-scp(Maven) >= 3.0.0-M1, <= 3.0.0-M4 No fix listed
debian/libmina-sshd-java(Debian:13) All versions No fix listed
debian/libmina-sshd-java(Debian:13) = 2.13.2-2 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.13.2-3 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.19.0-1 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.20.1-1 No fix listed
debian/libmina-sshd-java(Debian:14) < 2.19.0-1 2.19.0-1
debian/libmina-sshd-java(Debian:14) = 2.13.2-2 No fix listed
debian/libmina-sshd-java(Debian:14) = 2.13.2-3 No fix listed
ubuntu/mina(Ubuntu:22.04) All versions No fix listed
ubuntu/mina2(Ubuntu:22.04) All versions No fix listed
ubuntu/mina(Ubuntu:24.04) All versions No fix listed
ubuntu/mina2(Ubuntu:24.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.10) All versions No fix listed
apache mina sshd >= 2.0.0, < 2.19.0 2.19.0
apache mina sshd = 3.0.0-m1 No fix listed
apache mina sshd = 3.0.0-m2 No fix listed
apache mina sshd = 3.0.0-m3 No fix listed
apache mina sshd = 3.0.0-m4 No fix listed

References