Vulnerability · Published Jun 1, 2026 · Assigned by apache

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

High 7.1

In plain English

A high-severity path traversal in Apache MINA SSHD from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.5%top 55.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13libmina-sshd-javano fix listedDEBIAN-CVE-2026-48827
Debian:14libmina-sshd-javano fix listedDEBIAN-CVE-2026-48827
Mavenorg.apache.sshd:sshd-git2.18.0GHSA-mw4m-qhpg-j82m
Mavenorg.apache.sshd:sshd-git3.0.0-M4GHSA-mw4m-qhpg-j82m
Ubuntu:22.04:LTSminano fix listedUBUNTU-CVE-2026-48827
Ubuntu:24.04:LTSminano fix listedUBUNTU-CVE-2026-48827
Ubuntu:25.10mina2no fix listedUBUNTU-CVE-2026-48827
Ubuntu:26.10mina2no fix listedUBUNTU-CVE-2026-48827

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache MINA SSHD 2.0.0 – through 2.17.13.0.0-M1 – through 3.0.0-M3

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

References