CVE-2026-56623 Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows
Authenticated attackers can access git repositories outside the configured root directory on Windows servers using Apache MINA SSHD sshd-git.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-56623?
CVE-2026-56623 is a high-severity path traversal vulnerability in Apache MINA SSHD, published on 20 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-56623?
It affects 1 product.
Products include Apache Mina Sshd.
How do I fix CVE-2026-56623?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-56623 being exploited?
There is no known exploitation of CVE-2026-56623 in the wild and no public exploit code.
Other vulnerabilities in Apache MINA SSHD
- CVE-2026-56452 Apache MINA SSHD: Path traversal in SCP file reception
- CVE-2026-56624 Apache MINA SSHD: SSH certificate options lack validations
- CVE-2026-48827 Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git
- CVE-2024-41909 Apache MINA SSHD: integrity check bypass
- CVE-2019-6111 Path traversal in n/a
Sources
Also known as GHSA-q57w-g8m3-937c, UBUNTU-CVE-2026-56623.