CVE Watchtower

CVE-2026-56452Apache Mina Sshd Path Traversal

NVDCVSS scored by security@apache.org

Vulnerability Summary

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.
Severity Level
HIGH(7.5)
Published Date
Jul 20, 2026
Last Modified
Oct 24, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.77%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
The product allows user input to control or influence paths or file names that are used in filesystem operations.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Apache Mina Sshd >= 2.0.0 and < 2.19.0
  • Apache Mina Sshd
  • Apache Software Foundation Apache MINA SSHD <= 2.18.0
  • Apache Software Foundation Apache MINA SSHD >= 3.0.0-M1 and <= 3.0.0-M4
Patched Versions
  • Apache Mina Sshd 2.19.0
  • Apache Software Foundation Apache MINA SSHD 2.18.0
  • Apache Software Foundation Apache MINA SSHD 3.0.0-M4

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Apache Mina Sshd and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 20, 2026Published
  • Oct 24, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Mina Sshd CVEsYou are reading CVE-2026-56452. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 16:15 UTC