HIGH 7.5

CVE-2026-56452

Apache MINA SSHD: Path traversal in SCP file reception

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.sshd » sshd-scppreliminary
<= 2.18.0>= 3.0.0-M1, <= 3.0.0-M4
-

Blast radius

1affected artifacts
37affected versions
187dependent artifacts (est.)
4,499dependent versions

52% of the dependent artifacts (99) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,367
2 hops
1,990
3 hops
124
4 hops
12
5 hops
6

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Webopenwall.com
Webrepo.maven.apache.org