Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.sshd/sshd-git
  4. ›
  5. CVE-2026-48827

CVE-2026-48827: Apache MINA SSHD bundle sshd-git has a path traversal vulnerability

June 1, 2026 (updated July 9, 2026)

There is a 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.

Apache MINA SSHD bundle sshd-git 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.

References

  • github.com/advisories/GHSA-mw4m-qhpg-j82m
  • lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9
  • nvd.nist.gov/vuln/detail/CVE-2026-48827

Code Behaviors & Features

Detect and mitigate CVE-2026-48827 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.18.0, all versions starting from 3.0.0-M1 before 3.0.0-M4

Fixed versions

  • 2.18.0
  • 3.0.0-M4

Solution

Upgrade to versions 2.18.0, 3.0.0-M4 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.sshd/sshd-git/CVE-2026-48827.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:25 +0000.