CVE-2026-58624: sshd-git · Improper Input Validation
Affects minaSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium · fixed in 2.19.0 : update mina when convenient.
Data as of 1 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.19.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 20 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10mina2pkg:deb/ubuntu/mina2?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSmina2pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSminapkg:deb/ubuntu/mina?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSmina2pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSminapkg:deb/ubuntu/mina?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSmina2pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Apache MINA SSHD to version 2.19.0 or later, or 3.0.0-M5 or later, where the vulnerability is fixed by restricting commands to a safe whitelist and ignoring the --output argument for git archive. No other mitigation is indicated by the vendor advisory.
Description
CVE-2026-58624 is an improper input validation vulnerability in the GitPgmCommandFactory component of Apache MINA SSHD, a Java SSH library. It allows authenticated SSH users to execute arbitrary JGit commands, including those that can write files on the server, such as git archive with the --output option. The vulnerability affects SSH servers using Apache MINA SSHD with GitPgmCommandFactory configured. It is fixed in versions 2.19.0 and 3.0.0-M5 by restricting commands to a safe whitelist and ignoring the --output argument for git archive.
References
- ubuntu.com/security/CVE-2026-58624 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-58624 (opens in a new tab)
- openwall.com/lists/oss-security/2026/07/20/18 (opens in a new tab)
- lists.apache.org/thread/7c3cry6pdy6hj1q0f28rc72x4o4tlyjo (opens in a new tab)
- openwall.com/lists/oss-security/2026/07/20/18 (opens in a new tab)