CVE-2026-48827 Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
Authenticated users can access git repositories outside the configured root directory due to missing path validation in Apache MINA SSHD's git module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-48827?
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.
Official 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.
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-48827?
4 open source packages ship an affected version, including org.apache.sshd:sshd-git. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.sshd:sshd-git Maven | All versions | 2.18.0 |
org.apache.sshd:sshd-git Maven | All versions | 2.18.0 |
org.apache.sshd:sshd-git Maven | From 3.0.0-M1 | 3.0.0-M4 |
org.apache.sshd:sshd-git Maven | From 3.0.0-M1 | 3.0.0-M4 |
Products include Apache Mina Sshd.
How do I fix CVE-2026-48827?
Upgrade org.apache.sshd:sshd-git to a fixed version for your release line: 2.18.0 or 3.0.0-M4.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-48827 being exploited?
There is no known exploitation of CVE-2026-48827 in the wild and no public exploit code.
Other vulnerabilities in Apache MINA SSHD
- CVE-2026-56452 Apache MINA SSHD: Path traversal in SCP file reception
- CVE-2026-56624 Apache MINA SSHD: SSH certificate options lack validations
- CVE-2026-56623 Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows
- CVE-2024-41909 Apache MINA SSHD: integrity check bypass
- CVE-2019-6111 Path traversal in n/a
Sources
Also known as DEBIAN-CVE-2026-48827, GHSA-mw4m-qhpg-j82m, UBUNTU-CVE-2026-48827.