CVE-2026-58624
Last modified
CVE-2026-58624 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Apache | Mina Sshd | >= 2.0.0, < 2.19.0 | — |
| Apache | Mina Sshd | 3.0.0 | M1 |
References
- http://www.openwall.com/lists/oss-security/2026/07/20/18Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-58624?
How severe is CVE-2026-58624?
How do I fix CVE-2026-58624?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58613Use after free in Windows Cloud Files Mini Filter Driver all…7.8
- CVE-2026-58614Out-of-bounds read in Windows Kernel allows an authorized at…5.5
- CVE-2026-58617Improper access control in Microsoft 365 Copilot for iOS all…9.8
- CVE-2026-58618Heap-based buffer overflow in Microsoft Office Excel allows …7.8
- CVE-2026-58619Use after free in Windows Sensor Data Service allows an auth…7
- CVE-2026-5862Inappropriate implementation in V8 in Google Chrome prior to…8.8
- CVE-2026-58626Use after free in Windows Remote Desktop Services allows an …8.8
- CVE-2026-58627Uncontrolled resource consumption in Windows DHCP Server all…7.5
- CVE-2026-58628Concurrent execution using shared resource with improper syn…7.8
- CVE-2026-58629Use after free in Windows DirectX allows an authorized attac…7
- CVE-2026-5863Inappropriate implementation in V8 in Google Chrome prior to…8.8
- CVE-2026-58630Improper access control in Azure App Service allows an unaut…9.8
Are you affected by CVE-2026-58624?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
