{"id":"UBUNTU-CVE-2026-56452","details":"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 \u003c 2.0.0 and use the SCP functions to receive files,   *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files. Applications using Apache MINA SSHD \u003e= 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.","modified":"2026-07-29T10:18:49.888762909Z","published":"2026-07-20T21:16:00Z","upstream":["CVE-2026-56452"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-56452"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-56452"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/07/20/15"}],"affected":[{"package":{"name":"mina","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mina?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-11"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina-java","binary_version":"1.1.7.dfsg-11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.7+dfsg-2","2.0.9-1","2.0.9-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.9-2","binary_name":"libmina2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mina?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-11","1.1.7.dfsg-12"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina-java","binary_version":"1.1.7.dfsg-12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.16-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.16-2","binary_name":"libmina2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mina?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.7.dfsg-13","binary_name":"libmina-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.19-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.19-2","binary_name":"libmina2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mina?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina-java","binary_version":"1.1.7.dfsg-13"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.4-2","2.1.5-1","2.1.5-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina2-java","binary_version":"2.1.5-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mina?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13","1.1.7.dfsg-13ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina-java","binary_version":"1.1.7.dfsg-13ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-3","2.2.1-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmina2-java","binary_version":"2.2.1-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}},{"package":{"name":"mina2","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-4","2.2.1-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.1-4ubuntu0.1~esm1","binary_name":"libmina2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56452.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}