Skip to content
OpenAdvisories
High · 7.1 CVE-2026-48827 EUVD-2026-33606GHSA-mw4m-qhpg-j82m

Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git

Published Jun 1, 2026 · Updated Jun 1, 2026 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache MINA SSHD 2.0.0 – ≤ 2.17.1, 3.0.0-M1 – ≤ 3.0.0-M3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libmina-sshd-java 2.19.0-1 —
Debian 13 libmina-sshd-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mina2 No fix yet —
Ubuntu 25.10 mina2 No fix yet —
Ubuntu 24.04 LTS mina No fix yet —
Ubuntu 22.04 LTS mina No fix yet —
Ubuntu 20.04 LTS mina +1 No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mina +1 No fix yet —
Ubuntu 16.04 LTS mina +1 No fix yet —
Ubuntu Pro 26.04 LTS mina2 No fix yet —
Ubuntu Pro 24.04 LTS mina2 No fix yet —
Ubuntu Pro 22.04 LTS mina2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES 15 SP7 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLES 15 SP6 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES 15 SP6 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLES 15 SP5 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES 15 SP5 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLES 15 SP4 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES 15 SP4 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES for SAP 15 SP6 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLES for SAP 15 SP5 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES for SAP 15 SP5 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLES for SAP 15 SP4 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLES for SAP 15 SP4 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLE HPC 15 SP5 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLE HPC 15 SP5 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
SLE HPC 15 SP4 apache-sshd 2.18.0-150200.5.11.1 SUSE-SU-2026:2472-1
SLE HPC 15 SP4 jpgpj 1.3-150200.5.3.1 SUSE-SU-2026:2472-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache-sshd 2.18.0-1.1 openSUSE-SU-2026:10919-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.sshd:sshd-git < 2.18.0 2.18.0 GHSA-mw4m-qhpg-j82m
Maven org.apache.sshd:sshd-git >= 3.0.0-M1, < 3.0.0-M4 3.0.0-M4 GHSA-mw4m-qhpg-j82m

Advisories 2

References