{"id":"CVE-2026-56452","aliases":["CVE-2026-56452"],"related":[],"kind":"vulnerability","state":"published","title":"Apache MINA SSHD: Path traversal in SCP file reception","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.\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Salto de ruta en el componente sshd-scp de Apache MINA SSHD. Apache MINA SSHD es una biblioteca Java para SSH del lado del cliente y del lado del servidor. La implementación de recepción de archivos o directorios vía SCP no validaba los nombres de archivo en los comandos SCP 'C' o 'D'. Un remitente malicioso podría enviar nombres de archivo que contengan rutas, lo que resultaría en que los archivos se escribieran en lugares controlados por el atacante. El problema afecta solo * aplicaciones que usan versiones de Apache MINA SSHD anterior a 2.0.0 que ya no son compatibles y usan las funciones SCP para recibir archivos, * o aplicaciones que usan sshd-scp en Apache MINA SSHD >= 2.0.0 para recibir archivos. Las aplicaciones que usan Apache MINA SSHD >= 2.0.0 que no usan sshd-scp no se ven afectadas. El problema está solucionado en Apache MINA 2.19.0 y 3.0.0-M5. Se aconseja a las aplicaciones afectadas que actualicen a estas versiones.","source":"nvd"}],"published":"2026-07-20T20:26:28.301Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"type":"maven","introduced":"0","lastAffected":"2.18.0","status":"affected"},{"type":"maven","introduced":"3.0.0-M1","lastAffected":"3.0.0-M4","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","package":"org.apache.sshd:sshd-scp","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.19.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"}],"vendor":"apache","product":"mina_sshd","cpe":"cpe:2.3:a:apache:mina_sshd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/xgoqvmksmd94fsqnzqjdtfjxf35os9no","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/20/15","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Unbbal"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-21T17:10:14.573Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56452","url":"https://www.cve.org/CVERecord?id=CVE-2026-56452","licence":"CVE Terms of Use","modified":"2026-07-21T17:15:49.562Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56452","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56452","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:29.287Z","epss":{"score":0.0051,"percentile":0.45049,"date":"2026-12-01T12:00:22.000Z"}}