Description
Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH.




A git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows.




Applications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected.




Users are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue.




The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache MINA SSHD’s git server component contains a path traversal flaw that operates only on Windows platforms. The validation logic introduced in CVE‑2026‑48827 is insufficient for Windows file path handling, allowing an authenticated remote SSH user to reference files and directories outside the intended server root. By requesting a repository path that traverses parent directories, an attacker can read or modify files that should be inaccessible, thereby compromising the confidentiality and integrity of stored code.

Affected Systems

Any application that incorporates the org.apache.sshd:sshd-git library to host a git server on a Windows platform is vulnerable. Affected versions include Apache MINA SSHD 2.18.0 and all 2.18.x releases prior to 2.19.0, as well as pre‑release milestones 3.0.0‑M1 through 3.0.0‑M4. Applications that use other transport layers, do not run on Windows, or do not use sshd‑git are not affected. The issue is resolved in Apache MINA SSHD 2.19.0 and in milestone 3.0.0‑M5.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.1, indicating high severity. The EPSS score is less than 1%, suggesting a low probability of exploitation in the near term, and it is not listed in the CISA KEV catalog. Attackers must first authenticate to the SSHD git server; once authenticated, they can leverage the Windows path traversal to access arbitrary files outside the designated repository root. The impact is confined to the authenticated scope, but the ability to read or modify any file within the server machine remains significant.

Generated by OpenCVE AI on July 30, 2026 at 18:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache MINA SSHD to version 2.19.0 or to milestone 3.0.0‑M5 if your environment hosts a git server on Windows with the sshd‑git component.
  • If a rapid upgrade is impossible, configure the git server process to run with file system permissions that grant access only to the intended repository root and deny read/write to parent directories, thereby limiting the traversal exploit’s reach.
  • Ensure that SSH authentication is tightly controlled: disable unused accounts, enforce strong passwords or key-based authentication, and restrict SSH access to trusted network ranges to reduce the set of potential attackers.

Generated by OpenCVE AI on July 30, 2026 at 18:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache mina Sshd
Vendors & Products Apache
Apache mina Sshd

Tue, 21 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Description Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH. A git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows. Applications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected. Users are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue. The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.
Title Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'}


Subscriptions

Apache Mina Sshd
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-21T17:15:28.287Z

Reserved: 2026-06-22T14:49:48.620Z

Link: CVE-2026-56623

cve-icon Vulnrichment

Updated: 2026-07-21T17:07:55.097Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T18:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')