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

- Severity: High 7.5 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-07-20T20:26:28.301Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.sshd:sshd-scp: up to 2.18.0; from 3.0.0-M1 up to 3.0.0-M4
- apache mina_sshd: from 2.0.0 before 2.19.0; 3.0.0

## References

- <https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/07/20/15> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-56452](https://www.cve.org/CVERecord?id=CVE-2026-56452), CVE Terms of Use, modified 2026-07-21
- NVD: [CVE-2026-56452](https://nvd.nist.gov/vuln/detail/CVE-2026-56452), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-56452 · Whole record: https://cve.day/CVE-2026-56452.json · Rebuilt by cve.day 2026-11-25T22:59:29.287Z
