WaratekVRT Sign in

CVE-2026-48827 Apache MINA SSHD

Affected softwareApache MINA SSHD
Severity7.1 High CVSS 3.1 2 scores
Fixed in2.18.0, 3.0.0-M4
WeaknessPath traversal (CWE-22)
Published1 Jun 2026
Updated22 Jul 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.53% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2026-48827

Upgrade Apache MINA SSHD to a release that fixes it: 2.18.0 or 3.0.0-M4. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.1 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.1 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N security@apache.org Secondary published
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.sshd:sshd-git 0 2.18.0 unbounded
org.apache.sshd:sshd-git 3.0.0-M1 3.0.0-M4 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache mina sshd generic ≥ 2.0.0 and < 2.18.0 · 3.0.0:m1 · 3.0.0:m2 · 3.0.0:m3
osv org.apache.sshd sshd-git generic < 2.18.0 · ≥ 3.0.0 and < 3.0.0

References

URLTags
https://github.com/apache/mina-sshd PACKAGE
https://lists.apache.org/thread/910kq9ghm6js0k1yhhbrdm9sf5tqq9c9 WEB
http://www.openwall.com/lists/oss-security/2026/05/30/1 WEB

Timeline

Published2026-06-01By the CVE Program.
NVD record modified2026-07-22NVD's own last-modified date for this record.