CVE-2026-48827: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache MINA SSHD
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.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-48827 is a CWE-22 path traversal issue in Apache MINA SSHD's sshd-git component. It arises from a lack of proper path validation in git-related SSH operations, enabling authenticated users to access git repositories outside the intended root directory. This affects versions 2.0.0 and pre-release milestones 3.0.0-M1 to 3.0.0-M3 of sshd-git. The Apache Software Foundation has addressed this vulnerability in version 2.18.0 and milestone 3.0.0-M4. The vulnerability has a CVSS 3.1 score of 7.1, indicating high severity with network attack vector, low attack complexity, and requiring low privileges but no user interaction. Confidentiality impact is high, integrity impact is low, and availability is not affected.
Potential Impact
An authenticated user with SSH access to the git server can exploit this vulnerability to access git repositories outside the configured root directory. This can lead to unauthorized disclosure of repository contents (high confidentiality impact) and partial integrity impact. There is no impact on availability. The vulnerability affects only applications using the sshd-git component of Apache MINA SSHD. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available by upgrading affected applications to Apache MINA SSHD version 2.18.0 or later, or to milestone 3.0.0-M4 for the upcoming major version. Users should apply these updates promptly. Additionally, professional git servers should implement security controls beyond filesystem permissions to restrict access to git repositories and allowed operations. Patch status is not explicitly stated in the vendor advisory but the recommendation to upgrade to fixed versions confirms an official fix is available.
CVE-2026-48827: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache MINA SSHD
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.
CVSS v3.1
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-48827 is a CWE-22 path traversal issue in Apache MINA SSHD's sshd-git component. It arises from a lack of proper path validation in git-related SSH operations, enabling authenticated users to access git repositories outside the intended root directory. This affects versions 2.0.0 and pre-release milestones 3.0.0-M1 to 3.0.0-M3 of sshd-git. The Apache Software Foundation has addressed this vulnerability in version 2.18.0 and milestone 3.0.0-M4. The vulnerability has a CVSS 3.1 score of 7.1, indicating high severity with network attack vector, low attack complexity, and requiring low privileges but no user interaction. Confidentiality impact is high, integrity impact is low, and availability is not affected.
Potential Impact
An authenticated user with SSH access to the git server can exploit this vulnerability to access git repositories outside the configured root directory. This can lead to unauthorized disclosure of repository contents (high confidentiality impact) and partial integrity impact. There is no impact on availability. The vulnerability affects only applications using the sshd-git component of Apache MINA SSHD. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available by upgrading affected applications to Apache MINA SSHD version 2.18.0 or later, or to milestone 3.0.0-M4 for the upcoming major version. Users should apply these updates promptly. Additionally, professional git servers should implement security controls beyond filesystem permissions to restrict access to git repositories and allowed operations. Patch status is not explicitly stated in the vendor advisory but the recommendation to upgrade to fixed versions confirms an official fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-05-23T09:06:08.581Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e75e29bf47b50cd4a20
Added to database: 6/1/2026, 9:18:45 AM
Last enriched: 6/1/2026, 9:33:48 AM
Last updated: 6/2/2026, 7:00:32 AM
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.