Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 91%

CVE-2026-48827: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache MINA SSHD

0
High
VulnerabilityCVE-2026-48827cvecve-2026-48827cwe-22
Published: Mon Jun 01 2026 (06/01/2026, 08:37:41 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 09:33:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses