What’s Vulnerable › Vulnerabilities
CVE-2026-56452: Apache MINA SSHD: Path traversal in SCP file reception
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-20 · updated 2026-10-24
- Weakness: CWE-22
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 products
- Apache Software Foundation Apache MINA SSHD: from 2.0.0 before 2.19.0; 3.0.0-m1, 3.0.0-m2, 3.0.0-m3, 3.0.0-m4 — fixed in 2.19.0
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache MINA SSHD 2.19.0. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no
- http://www.openwall.com/lists/oss-security/2026/07/20/15
Get alerted when CVE-2026-56452 or the next vulnerability affects your stack