WaratekVRT Sign in

CVE-2026-58624 Apache MINA SSHD

Affected softwareApache MINA SSHD
Severity5.4 Medium CVSS 3.1
WeaknessImproper input validation (CWE-20)
Published20 Jul 2026
Updated24 Oct 2026

Description

Improper input validation in sshd-git in Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. Component org.apache.sshd:sshd-git provides though its GitPgmCommandFactory a way to configure an Apache MINA SSHD server such that SSH clients can remotely execute git commands via the JGit library on git repositories stored on the server. This GitPgmCommandFactory allowed a user authenticated via SSH to run any JGit command available, including commands that could write files at arbitrary places such as git archive with the --output option. Affected are SSH servers implemented with Apache MINA SSHD and using the GitPgmCommandFactory. If the GitPgmCommandFactory is not configured on the server, the server is not affected. It is recommended to upgrade affected servers to Apache MINA SSHD 2.19.0 or 3.0.0-M5, which fix this issue. The issue is fixed by restricting the available commands to a small whitelist of uncritical commands (such as git log). git archive is also allowed, but its --output argument is ignored and the archive is always sent through the SSH channel to the client.

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.64% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

VRT has not found a public code change for this CVE yet.

  • Protection none
  • Action not pursued
  • Review automated Upstream data
  • Record active
Decided by Nothing to build a rule from yet: no published exploit, no CISA record of exploitation and no source-level change to read
Finding This CVE affects a known product, but nothing published names a fix and nothing published shows an exploit. That is a statement about the evidence, not about the defect — it does not mean the vulnerability is unimportant or unreachable, only that neither of the two things VRT can act on exists.

Affected software and releases

Products and versions

1 product, 5 version entries
SourceVendorProductSchemeAffected versions
nvd apache mina sshd generic ≥ 2.0.0 and < 2.19.0 · 3.0.0:m1 · 3.0.0:m2 · 3.0.0:m3 · 3.0.0:m4

References

URLTags
https://lists.apache.org/thread/7c3cry6pdy6hj1q0f28rc72x4o4tlyjo Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/07/20/18 Mailing List, Third Party Advisory

Timeline

Published2026-07-20By the CVE Program.
NVD record modified2026-10-24NVD's own last-modified date for this record.