CVE-2026-48827

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductApache Mina Sshd
PublishedJun 1, 2026
First seenJun 1, 2026

How to fix

Update
  • apache mina_sshd2.18.0 or later
  • org.apache.sshd:sshd-git2.18.0, 3.0.0-M4 or later

Affected products

ProductAffected versionsFixed in
apache mina_sshd2.0.0 ≤ v < 2.18.0, 3.0.02.18.0
org.apache.sshd:sshd-gitMavenv < 2.18.0, 3.0.0-M1 ≤ v < 3.0.0-M42.18.0, 3.0.0-M4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.