Skip to main content
← All vulnerabilities
CVE-2026-48827GHSA-MW4M-QHPG-J82M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.18.0, 3.0.0-M4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • 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-gitMaven

    fixed in 2.18.0

  • org.apache.sshd:sshd-gitMaven

    From 3.0.0-M1 · fixed in 3.0.0-M4

References 1

lists.apache.org