{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.sshd:sshd-git. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-48827 in the wild and no public exploit code.","fix":"Upgrade org.apache.sshd:sshd-git to a fixed version for your release line: 2.18.0 or 3.0.0-M4.","what":"CVE-2026-48827 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 1 Jun 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-48827 and fix it if it is affected.\n\nWhat it is: CVE-2026-48827 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 1 Jun 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-48827 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.sshd:sshd-git (Maven): affected all versions; fixed in 2.18.0\n- org.apache.sshd:sshd-git (Maven): affected all versions; fixed in 2.18.0\n- org.apache.sshd:sshd-git (Maven): affected from 3.0.0-M1; fixed in 3.0.0-M4\n- org.apache.sshd:sshd-git (Maven): affected from 3.0.0-M1; fixed in 3.0.0-M4\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-48827/ (Markdown: https://insights.sbomify.com/CVE-2026-48827/index.md)","id":"CVE-2026-48827","markdown":"https://insights.sbomify.com/CVE-2026-48827/index.md","name":"CVE-2026-48827","record":{"aliases":["DEBIAN-CVE-2026-48827","GHSA-mw4m-qhpg-j82m","UBUNTU-CVE-2026-48827"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java SSH library","requires_auth":"low_privilege","summary":"Authenticated users can access git repositories outside the configured root directory due to missing path validation in Apache MINA SSHD's git module.","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 vulnerability in Apache MINA SSHD bundle sshd-git. Lack of path validation in git-upload-pack, git-receive-pack, and other git operations allows users authenticated over SSH access to git repositories outside the configured git server root directory.\n\nApplications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected.\n\nUsers are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue.\n\nThe issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M3 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git. Upgrade affected applications to 3.0.0-M4.\n\nWe would like to point out that a professional git server should not rely solely on file system layout and permissions, but should implement additional security controls to govern access to git repositories and operations allowed on particular git repositories.","ecosystems":["Maven"],"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","id":"CVE-2026-48827","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Apache Airflow: Bulk JSON Variables bypass should_hide_value_for_key - redact() called without the key","id":"CVE-2026-48828"},"packages":[{"ecosystem":"Maven","fixed":["2.18.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.sshd:sshd-git","purl":null,"source":"GHSA-mw4m-qhpg-j82m"},{"ecosystem":"Maven","fixed":["2.18.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.sshd:sshd-git","purl":"pkg:maven/org.apache.sshd/sshd-git","source":"GHSA-mw4m-qhpg-j82m"},{"ecosystem":"Maven","fixed":["3.0.0-M4"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"org.apache.sshd:sshd-git","purl":null,"source":"GHSA-mw4m-qhpg-j82m"},{"ecosystem":"Maven","fixed":["3.0.0-M4"],"introduced":["3.0.0-M1"],"last_affected":[],"package":"org.apache.sshd:sshd-git","purl":"pkg:maven/org.apache.sshd/sshd-git","source":"GHSA-mw4m-qhpg-j82m"}],"prev":{"headline":"HomeBox: Cross-Group Inventory Wipe in Homebox via Global Owner Role and X-Tenant Header Switching","id":"CVE-2026-48826"},"products":["Apache MINA SSHD"],"published":"2026-06-01","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 on Windows","id":"CVE-2026-56623","kev_date_added":null,"published":"2026-07-20"},{"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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-06-01","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can access git repositories outside the configured root directory due to missing path validation in Apache MINA SSHD's git module.","url":"https://insights.sbomify.com/CVE-2026-48827/"}