{"id":"CVE-2026-48827","aliases":["CVE-2026-48827","GHSA-mw4m-qhpg-j82m"],"related":[],"kind":"vulnerability","state":"published","title":"Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git","summary":"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\n\n\n\nApplications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected.\n\n\n\n\nUsers are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue.\n\n\n\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\n\n\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\n\n\n\nApplications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected.\n\n\n\n\nUsers are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue.\n\n\n\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\n\n\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.","source":"cvelist"},{"lang":"en","text":"There is a 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\nApache MINA SSHD bundle sshd-git 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de salto de ruta en el paquete Apache MINA SSHD sshd-git. La falta de validación de ruta en git-upload-pack, git-receive-pack y otras operaciones de git permite a los usuarios autenticados por SSH acceder a repositorios git fuera del directorio raíz del servidor git configurado.\n\nLas aplicaciones se ven afectadas si utilizan org.apache.sshd:sshd-git. Las aplicaciones que no utilizan sshd-git no se ven afectadas.\n\nSe aconseja a los usuarios actualizar las aplicaciones afectadas a Apache MINA SSHD 2.18.0, que soluciona el problema.\n\nEl problema también está presente en los hitos de prelanzamiento 3.0.0-M1 a 3.0.0-M3 para una nueva versión principal próxima 3.0.0. De nuevo, las aplicaciones se ven afectadas solo si utilizan sshd-git. Actualice las aplicaciones afectadas a 3.0.0-M4.\n\nNos gustaría señalar que un servidor git profesional no debe depender únicamente del diseño y los permisos del sistema de archivos, sino que debe implementar controles de seguridad adicionales para gobernar el acceso a los repositorios git y las operaciones permitidas en repositorios git particulares.","source":"nvd"}],"published":"2026-06-01T08:37:41.968Z","modified":"2026-07-22T07:10:00.107Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"maven","introduced":"2.0.0","lastAffected":"2.17.1","status":"affected"},{"type":"maven","introduced":"3.0.0-M1","lastAffected":"3.0.0-M3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","package":"org.apache.sshd:sshd-git","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.18.0"}],"ecosystem":"Maven","package":"org.apache.sshd:sshd-git","purl":"pkg:maven/org.apache.sshd/sshd-git","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0-M1","status":"affected","fixed":"3.0.0-M4"}],"ecosystem":"Maven","package":"org.apache.sshd:sshd-git","purl":"pkg:maven/org.apache.sshd/sshd-git","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.18.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/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/30/1","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48827","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/mina-sshd","tags":["package"],"sources":["ghsa"]}],"credits":["j0hndo (dohyun4466@gmail.com)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-01T12:44:52.544Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48827","url":"https://www.cve.org/CVERecord?id=CVE-2026-48827","licence":"CVE Terms of Use","modified":"2026-06-01T12:44:56.455Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw4m-qhpg-j82m","url":"https://github.com/advisories/GHSA-mw4m-qhpg-j82m","licence":"CC-BY-4.0","modified":"2026-07-09T21:26:41.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48827","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48827","licence":"Public domain","modified":"2026-07-22T07:10:00.107Z"}],"updatedAt":"2026-11-25T22:59:23.436Z","epss":{"score":0.00527,"percentile":0.46117,"date":"2026-12-01T12:00:22.000Z"}}