CVE-2026-56452
Apache MINA SSHD: Path traversal in SCP file reception
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sshd » sshd-scppreliminary | <= 2.18.0>= 3.0.0-M1, <= 3.0.0-M4 | - |
Blast radius
52% of the dependent artifacts (99) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,367 |
| 2 hops | 1,990 |
| 3 hops | 124 |
| 4 hops | 12 |
| 5 hops | 6 |
Most used dependents
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.extensions144 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.tests124 usages
- org.wso2.ei » automation-extensions64 usages
- org.wso2.ei » integration-test-utils53 usages
- org.mule.tests » mule-tests-infrastructure39 usages
- org.jenkins-ci.plugins » ssh-slaves39 usages
- org.ikasan » ikasan-test28 usages
- org.apache.karaf.shell » org.apache.karaf.shell.ssh17 usages
- net.rossonet » ar4k-core17 usages
- org.apache.dolphinscheduler » dolphinscheduler-datasource-all15 usages
- org.apache.sshd » apache-sshd14 usages
- org.wildfly.camel » wildfly-camel-itests-common13 usages
- io.github.totalschema » totalschema-core11 usages
- org.ikasan » ikasan-eip-test8 usages
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
| Advisory | CVE record CVE-2026-56452 | github.com |
| Advisory | thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no | lists.apache.org |
| Advisory | NVD CVE-2026-56452 | nvd.nist.gov |
| Web | lists/oss-security/2026/07/20/15 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
