Vulnerability · Published Jun 1, 2026 · Assigned by apache
CVE-2026-48827Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
High 7.1
In plain English
A high-severity path traversal in Apache MINA SSHD from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libmina-sshd-java | no fix listed | DEBIAN-CVE-2026-48827 |
| Debian:14 | libmina-sshd-java | no fix listed | DEBIAN-CVE-2026-48827 |
| Maven | org.apache.sshd:sshd-git | 2.18.0 | GHSA-mw4m-qhpg-j82m |
| Maven | org.apache.sshd:sshd-git | 3.0.0-M4 | GHSA-mw4m-qhpg-j82m |
| Ubuntu:22.04:LTS | mina | no fix listed | UBUNTU-CVE-2026-48827 |
| Ubuntu:24.04:LTS | mina | no fix listed | UBUNTU-CVE-2026-48827 |
| Ubuntu:25.10 | mina2 | no fix listed | UBUNTU-CVE-2026-48827 |
| Ubuntu:26.10 | mina2 | no fix listed | UBUNTU-CVE-2026-48827 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache MINA SSHD | 2.0.0 – through 2.17.13.0.0-M1 – through 3.0.0-M3 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N