Skip to content

CVE-2026-56623 Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows

HighCVSS 7.1 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mina(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/mina(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.10) All versions No fix listed No fix yet
apache mina sshd = 3.0.0-m1; = 3.0.0-m2; = 3.0.0-m3; = 3.0.0-m4 +1 more 2.19.0 Fixed
org.apache.sshd/sshd-git(Maven) >= 2.0.0, <= 2.18.0; >= 3.0.0-M1, <= 3.0.0-M4 after 2.18.0, 3.0.0-M4 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.sshd/sshd-git(Maven) >= 2.0.0, <= 2.18.0 No fix listed
org.apache.sshd/sshd-git(Maven) >= 3.0.0-M1, <= 3.0.0-M4 No fix listed
ubuntu/mina(Ubuntu:22.04) All versions No fix listed
ubuntu/mina2(Ubuntu:22.04) All versions No fix listed
ubuntu/mina(Ubuntu:24.04) All versions No fix listed
ubuntu/mina2(Ubuntu:24.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.10) All versions No fix listed
apache mina sshd >= 2.0.0, < 2.19.0 2.19.0
apache mina sshd = 3.0.0-m1 No fix listed
apache mina sshd = 3.0.0-m2 No fix listed
apache mina sshd = 3.0.0-m3 No fix listed
apache mina sshd = 3.0.0-m4 No fix listed

References