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.5%top 58%

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: 06/01/2026 (06/01/2026, 08:37:41 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache MINA SSHD

Description

A path traversal vulnerability (CWE-22) exists in Apache MINA SSHD's sshd-git bundle, allowing authenticated SSH users to access git repositories outside the configured server root directory due to insufficient path validation in git-upload-pack, git-receive-pack, and related operations. This affects applications using org.apache.sshd:sshd-git. The issue is fixed in Apache MINA SSHD version 2.18.0 and in milestone 3.0.0-M4. Users should upgrade to these versions to mitigate the vulnerability. Additional security controls beyond file system permissions are recommended for professional git servers.

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

Affected software

org.apache.sshd/sshd-git
pkg:maven/org.apache.sshd/sshd-git
Affected versions
=2.0.0=3.0.0-M1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:50:51 UTC

Technical Analysis

CVE-2026-48827 is a path traversal vulnerability in the Apache MINA SSHD sshd-git bundle. It arises from a lack of proper path validation in git-related operations such as git-upload-pack and git-receive-pack, which allows authenticated SSH users to access git repositories outside the intended root directory. This vulnerability affects only applications that use the sshd-git component (org.apache.sshd:sshd-git). The flaw is present in version 2.0.0 and pre-release milestones 3.0.0-M1 through 3.0.0-M3. The Apache Software Foundation has fixed this issue in version 2.18.0 and milestone 3.0.0-M4. The advisory also notes that relying solely on file system layout and permissions is insufficient for securing git servers and recommends implementing additional access controls.

Potential Impact

The vulnerability allows an authenticated SSH user to perform path traversal attacks, potentially accessing git repositories outside the configured server root directory. This can lead to unauthorized read access to sensitive repositories. The CVSS 3.1 score is 7.1 (high), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high confidentiality impact with limited integrity impact and no availability impact.

Mitigation Recommendations

Upgrade affected applications using org.apache.sshd:sshd-git to Apache MINA SSHD version 2.18.0 or later, or to milestone 3.0.0-M4 or later for the upcoming major version. Since the vendor advisory does not explicitly state the remediation level, patch status is inferred from the upgrade recommendation. Additionally, implement security controls beyond file system permissions to govern access to git repositories and restrict allowed operations. Patch status is not explicitly confirmed in the advisory; therefore, check the vendor advisory for the latest remediation guidance.

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: 06/01/2026, 09:18:45 UTC

Last enriched: 07/10/2026, 09:50:51 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 101

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