{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-56623 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-56623 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56623 and fix it if it is affected.\n\nWhat it is: CVE-2026-56623 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-56623 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-56623/ (Markdown: https://insights.sbomify.com/CVE-2026-56623/index.md)","id":"CVE-2026-56623","markdown":"https://insights.sbomify.com/CVE-2026-56623/index.md","name":"CVE-2026-56623","record":{"aliases":["GHSA-q57w-g8m3-937c","UBUNTU-CVE-2026-56623"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SSH library","requires_auth":"low_privilege","summary":"Authenticated attackers can access git repositories outside the configured root directory on Windows servers using Apache MINA SSHD sshd-git.","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.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH.\n\nA git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows.\n\nApplications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected.\n\nUsers are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue.\n\nThe issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.","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 org.apache.sshd:sshd-git on Windows","id":"CVE-2026-56623","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":"Apache MINA SSHD: SSH certificate options lack validations","id":"CVE-2026-56624"},"packages":[],"prev":{"headline":"HCL BigFix Mobile is vulnerable to information disclosure","id":"CVE-2026-56620"},"products":["Apache MINA SSHD"],"published":"2026-07-20","related":[{"cvss_score":7.5,"headline":"Apache MINA SSHD: Path traversal in SCP file reception","id":"CVE-2026-56452","kev_date_added":null,"published":"2026-07-20"},{"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","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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["Apache Software Foundation"]},"summary":"Authenticated attackers can access git repositories outside the configured root directory on Windows servers using Apache MINA SSHD sshd-git.","url":"https://insights.sbomify.com/CVE-2026-56623/"}