Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
Published Jun 1, 2026
7.1
HIGHCVSS 3.1
EPSS 0.78%
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 products
-
- Version 2.0.0StatusaffectedConstraints<=2.17.1
- Version 3.0.0-M1StatusaffectedConstraints<=3.0.0-M3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache MINA SSHD | unaffected |
|
No data.
Red Hat Data Grid 8
sshd-git
Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion Pack
sshd-git
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Data Grid 8 | sshd-git | Fix deferred | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | sshd-git | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
To mitigate this issue, ensure the Git server environment is configured with strict access controls and isolation. Restrict operating system user accounts used for SSH Git access to their intended repository roots, potentially using chroot jails or similar mechanisms. Implement additional authorization layers to govern access to Git repositories and operations, preventing authenticated users from traversing outside the designated server root directory. Review and harden file system permissions to limit access to sensitive directories.
References (7)
- http://www.openwall.com/lists/oss-security/2026/05/30/1 Mailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-48827 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2483783 Issue Tracking
- https://github.com/advisories/GHSA-mw4m-qhpg-j82m Advisory
- https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9 vendor-advisoryMailing ListVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-48827
- https://www.cve.org/CVERecord?id=CVE-2026-48827
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/05/30/1 | Mailing ListThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2026-48827 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2483783 | Issue Tracking | |
| https://github.com/advisories/GHSA-mw4m-qhpg-j82m | Advisory | |
| https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9 | vendor-advisoryMailing ListVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-48827 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-48827 |
Change history (0)
No recorded changes yet.