PatchSiren cyber security CVE debrief
CVE-2026-58624 Apache Software Foundation CVE debrief
Apache MINA SSHD, a Java library for client-side and server-side SSH, contains an improper input validation vulnerability in the sshd-git component. This vulnerability allows an authenticated SSH client to execute arbitrary JGit commands on the server, potentially leading to file writes. The issue is fixed in Apache MINA SSHD versions 2.19.0 and 3.0.0-M5. The vulnerability has a CVSS score of 5.4 and a severity of MEDIUM.
- Vendor
- Apache Software Foundation
- Product
- Apache MINA SSHD
- CVSS
- MEDIUM 5.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-20
- Original CVE updated
- 2026-07-27
- Advisory published
- 2026-07-20
- Advisory updated
- 2026-07-27
Who should care
Administrators and users of Apache MINA SSHD servers that have the GitPgmCommandFactory configured are potentially affected and should upgrade to a fixed version. They should review their server configurations and monitor for suspicious activity. Security teams should also review compensating controls for exposed systems while remediation is scheduled and verified.
Technical summary
The sshd-git component of Apache MINA SSHD allows authenticated SSH clients to execute arbitrary JGit commands, including those that can write files to arbitrary locations. This is due to the GitPgmCommandFactory not properly restricting the available commands. The vulnerability is fixed by whitelisting uncritical commands and ignoring the --output argument for git archive. Affected servers should be upgraded to Apache MINA SSHD version 2.19.0 or 3.0.0-M5.
Defensive priority
Medium
Recommended defensive actions
- Upgrade to Apache MINA SSHD version 2.19.0 or 3.0.0-M5
- Review and restrict GitPgmCommandFactory configurations
- Monitor SSH server logs for suspicious activity
- Implement additional security controls for SSH access
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record was published on 2026-07-20T21:16:49.283Z and last modified on 2026-07-27T14:25:52.003Z. The NVD entry is currently Analyzed. Evidence from the CVE record and NVD entry indicates that Apache MINA SSHD versions prior to 2.19.0 and 3.0.0-M5 are affected by this vulnerability. Defenders should verify the configuration of their Apache MINA SSHD servers, especially those using the GitPgmCommandFactory.
Official resources
-
CVE-2026-58624 CVE record
CVE.org
-
CVE-2026-58624 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Vendor Advisory
-
Mitigation or vendor reference
af854a3a-2127-422b-91ae-364da2661108 - Mailing List, Third Party Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-20T21:16:49.283Z and has not been modified since then. The NVD entry is currently Analyzed.