CVE-2026-48827Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
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. Applications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected. Users are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue. The 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. We 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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 26.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 25.10 | mina2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48827 | |
| Ubuntu 24.04 | mina | Under investigation | UBUNTU-CVE-2026-48827 | |
| Ubuntu 24.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 22.04 | mina | Under investigation | UBUNTU-CVE-2026-48827 | |
| Ubuntu 22.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 20.04 | mina | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 20.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 18.04 | mina | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 18.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 16.04 | mina | Fix pending | UBUNTU-CVE-2026-48827 | |
| Ubuntu 16.04 | mina2 | Fix pending | UBUNTU-CVE-2026-48827 | |
| Debian 14 | libmina-sshd-java | Fixed | 2.19.0-1 | DEBIAN-CVE-2026-48827 |
| Debian 13 | libmina-sshd-java | Fix pending | DEBIAN-CVE-2026-48827 | |
| Maven library | org.apache.sshd:sshd-git | Fixed | 3.0.0-M4 | GHSA-mw4m-qhpg-j82m |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache MINA SSHD: affected: 2.0.0 to 2.17.1, 3.0.0-M1 to 3.0.0-M3
Vendor advisories:
- https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.