{"id":"CVE-2026-56452","state":"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 < 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD >= 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.","publishedAt":"2026-07-20T20:26:28.301Z","updatedAt":"2026-07-21T17:15:49.562Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache MINA SSHD"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","packageName":"org.apache.sshd:sshd-scp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.18.0","versionType":"maven"},{"version":"3.0.0-M1","status":"affected","lessThanOrEqual":"3.0.0-M4","versionType":"maven"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no","http://www.openwall.com/lists/oss-security/2026/07/20/15"],"weaknesses":["CWE-22","CWE-73"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56452.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56452","state":"PUBLISHED","datePublished":"2026-07-20T20:26:28.301Z","dateUpdated":"2026-07-21T17:15:49.562Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-06-22T13:31:17.496Z"},"containers":{"cna":{"title":"Apache MINA SSHD: Path traversal in SCP file reception","descriptions":[{"lang":"en","value":"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 < 2.0.0 and use the SCP functions to receive files,\n  *  or applications using sshd-scp in Apache MINA SSHD >= 2.0.0 to receive files.\n\n\n\n\nApplications using Apache MINA SSHD >= 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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","packageName":"org.apache.sshd:sshd-scp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.18.0","versionType":"maven"},{"version":"3.0.0-M1","status":"affected","lessThanOrEqual":"3.0.0-M4","versionType":"maven"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-07-20T20:26:28.301Z"},"credits":[{"lang":"en","type":"finder","value":"Unbbal"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/15"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-20T22:20:00.765Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T17:10:14.573635Z","id":"CVE-2026-56452","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-21T17:15:49.562Z"}}]}}}