{"id":"CVE-2026-56452","aliases":["DEBIAN-CVE-2026-56452","EUVD-2026-46099","GHSA-2vf2-jm4x-2gj4","SUSE-SU-2026:3339-1","UBUNTU-CVE-2026-56452","openSUSE-SU-2026:11327-1"],"status":"published","title":"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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00772,"percentile":0.56136,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22","CWE-73"],"published":"2026-07-20T20:26:28Z","modified":"2026-11-10T04:00:08Z","fixes":[{"ecosystem":"Debian:14","package":"libmina-sshd-java","fixed_in":["2.19.0-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"libmina-sshd-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.13.2-2","2.13.2-3","2.19.0-1","2.20.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libmina-sshd-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-1"}]}],"versions":["2.13.2-2","2.13.2-3"]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-150200.5.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mina","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-11"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.7+dfsg-2","2.0.9-1","2.0.9-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mina","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-11","1.1.7.dfsg-12"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.16-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mina","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.19-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mina","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.4-2","2.1.5-1","2.1.5-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mina","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.7.dfsg-13","1.1.7.dfsg-13ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-3","2.2.1-3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-4","2.2.1-4ubuntu1","2.2.9-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"mina2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-4","2.2.1-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"apache-sshd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-2.1"}]}],"bundled":4}],"products":[{"vendor":"apache","product":"mina_sshd"},{"vendor":"apache software foundation","product":"apache mina sshd"}],"references":[{"url":"https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no","tags":["vendor-advisory","Vendor Advisory","Mailing List","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/15","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56452","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2vf2-jm4x-2gj4"},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56452.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-56452","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263339-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1271991","tags":["report"]},{"url":"https://bugzilla.suse.com/1271992","tags":["report"]},{"url":"https://bugzilla.suse.com/1271993","tags":["report"]},{"url":"https://bugzilla.suse.com/1272158","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56452","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56623","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56624","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-58624","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-56452","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56452","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/07/20/15","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-56452","title":"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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","status":"published","published":"2026-07-20T20:26:28.301Z","modified":"2026-07-21T17:15:49.562Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-22","CWE-73"],"updated_at":"2026-11-02T13:37:02.780526Z"}],"euvd":[{"id":"EUVD-2026-46099","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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","status":"published","published":"2026-07-20T20:26:28Z","modified":"2026-07-21T17:15:49Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T18:19:46.900828Z"}],"ghsa":[{"id":"GHSA-2vf2-jm4x-2gj4","title":"Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library...","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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","status":"published","published":"2026-07-20T21:31:51Z","modified":"2026-07-21T00:30:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:09:37.555146Z"}],"nvd":[{"id":"CVE-2026-56452","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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","status":"published","published":"2026-07-20T21:16:48.82Z","modified":"2026-10-24T13:10:00.147Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22","CWE-73"],"updated_at":"2026-11-02T14:12:31.024898Z"}],"osv":[{"id":"CVE-2026-56452","title":"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.\n\n\n\n\nThe 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.\n\n\n\n\nThe issue affects only\n\n  *  applications that use no longer supported Apache MINA SSHD versions \u003c 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD \u003e= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\n\n\n\n\nThe issue is fixed in Apache MINA 2.19.0 and 3.0.0-M5. Affected applications are advised to upgrade to these versions.","status":"published","published":"2026-07-20T20:26:28.301Z","modified":"2026-10-28T02:30:30.841398241Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22","CWE-73"],"updated_at":"2026-11-02T15:45:11.609219Z"},{"id":"DEBIAN-CVE-2026-56452","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 \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.","status":"published","published":"2026-07-20T21:16:48.82Z","modified":"2026-11-10T04:00:08.633062526Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-10T04:22:10.004764Z"},{"id":"UBUNTU-CVE-2026-56452","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 \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.","status":"published","published":"2026-07-20T21:16:00Z","modified":"2026-10-17T13:00:27.94907755Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:56:41.382716Z"},{"id":"openSUSE-SU-2026:11327-1","title":"apache-sshd-2.19.0-2.1 on GA media","description":"These are all security issues fixed in the apache-sshd-2.19.0-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-22T00:00:00Z","modified":"2026-07-23T09:45:06.876889886Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"SUSE-SU-2026:3339-1","title":"Security update for apache-sshd","description":"This update for apache-sshd fixes the following issues:\n\nUpdate to upstream version 2.19.0.\n  \nSecurity issues fixed:\n\n- CVE-2026-56452: remote users can use SCP to send filenames that lead to arbitrary file writes due to a path traversal\n  issue in the `sshd-scp` component of Apache MINA SSHD. (bsc#1272158).\n- CVE-2026-56623: remote users can obtain access to git repositories outside of the configured server-side root\n  directory on Windows systems due to path traversal issue in `org.apache.sshd:sshd-git` (bsc#1271993).\n- CVE-2026-56624: users can authenticate with certificates containing the `force-command` option but still execute\n  other commands due to improper validation of certificate options in Apache MINA SSHD  (bsc#1271992).\n- CVE-2026-58624: remote execution of JGit commands can lead to arbitrary file writes due to improper input validation\n  in `sshd-git` of Apache MINA SSHD (bsc#1271991).\n\nOther updates and bugfixes:\n\n- Version 2.19.0:\n  * Bug Fixes\n    + GH-899 Fix ProcessShellFactory on Linux.\n    + GH-902 Fix client-side handling of sk-* public key signatures (also in the agent interfaces).\n    + Limit size of decompressed SSH packets.\n    + Improve checking SSH user certificates in public-key authentication.\n    + Improve handling of repository paths in sshd-git on Windows.\n    + Validate file names in SCP.\n    + Escape newlines in filenames in the SCP protocol.\n    + Restrict JGit commands accessible via GitPgmCommandFactory in sshd-git.\n","status":"published","published":"2026-07-28T10:03:18Z","modified":"2026-07-28T18:45:06.904689353Z","updated_at":"2026-11-02T15:54:04.987808Z"}]}}
