{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-56452 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-56452 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56452 and fix it if it is affected.\n\nWhat it is: CVE-2026-56452 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-56452 in the wild and no public exploit code.\n\nAffected product: Apache MINA SSHD. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56452/ (Markdown: https://insights.sbomify.com/CVE-2026-56452/index.md)","id":"CVE-2026-56452","markdown":"https://insights.sbomify.com/CVE-2026-56452/index.md","name":"CVE-2026-56452","record":{"aliases":["DEBIAN-CVE-2026-56452","GHSA-2vf2-jm4x-2gj4","UBUNTU-CVE-2026-56452"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SSH library","requires_auth":"none","summary":"A malicious SCP sender can write files to arbitrary locations due to lack of filename validation in Apache MINA SSHD.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"mina_sshd","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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\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\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\nApplications using Apache MINA SSHD \u003e= 2.0.0 not using sshd-scp are not affected.\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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache MINA SSHD: Path traversal in SCP file reception","id":"CVE-2026-56452","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"HCL DFXAnalytics is affected by an Account Takeover via Response Manipulation vulnerability.","id":"CVE-2026-56453"},"packages":[],"prev":{"headline":"Auth bypass in Opcenter X","id":"CVE-2026-56451"},"products":["Apache MINA SSHD"],"published":"2026-07-20","related":[{"cvss_score":7.3,"headline":"Apache MINA SSHD: SSH certificate options lack validations","id":"CVE-2026-56624","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":7.1,"headline":"Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows","id":"CVE-2026-56623","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":7.1,"headline":"Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git","id":"CVE-2026-48827","kev_date_added":null,"published":"2026-06-01"},{"cvss_score":5.9,"headline":"Apache MINA SSHD: integrity check bypass","id":"CVE-2024-41909","kev_date_added":null,"published":"2024-08-12"},{"cvss_score":5.9,"headline":"Path traversal in n/a","id":"CVE-2019-6111","kev_date_added":null,"published":"2019-01-31"},{"cvss_score":5.4,"headline":"Apache MINA SSHD: Remote execution of JGit commands can write files on the server","id":"CVE-2026-58624","kev_date_added":null,"published":"2026-07-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["Apache Software Foundation"]},"summary":"A malicious SCP sender can write files to arbitrary locations due to lack of filename validation in Apache MINA SSHD.","url":"https://insights.sbomify.com/CVE-2026-56452/"}