CVE-2026-48827 Details
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.
A path traversal vulnerability has been identified in the Apache MINA SSHD component 'sshd-git'. This vulnerability arises from inadequate path validation in several git operations, including 'git-upload-pack' and 'git-receive-pack'. As a result, users authenticated via SSH can access git repositories located outside the designated git server root directory. This issue affects Apache MINA SSHD versions 2.0.0 through 2.17.1, as well as pre-release milestones 3.0.0-M1 to 3.0.0-M3, but only in applications that utilize 'sshd-git'.
Users are advised to upgrade to Apache MINA SSHD 2.18.0 or 3.0.0-M4, depending on their current version. For applications using 'sshd-git', additional security controls should be implemented to manage access to git repositories and the operations permitted on them.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/05/30/1 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9 | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache mina sshd | >= 2.0.0, < 2.18.0 3.0.0 m1 3.0.0 m2 3.0.0 m3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| Jun 1, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | CVE Modified | CVE |
| Jun 1, 2026 | New CVE Received | [email protected] |