Improper Input Validation in Apache MINA SSHD's GitPgmCommandFactory
CVE-2026-58624
Key facts: CVE-2026-58624 is a medium severity (CVSS 5.4) vulnerability in Apache MINA SSHD. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days.
What is CVE-2026-58624?
A vulnerability exists in Apache MINA SSHD's GitPgmCommandFactory that allows authenticated users to execute arbitrary JGit commands on git repositories. This includes the potential for executing commands that can manipulate files on the server without proper restrictions. Although the GitPgmCommandFactory can be used to facilitate SSH access for executing git commands, if the server is not properly configured to limit the commands available, it poses a significant security risk. Recommended mitigation includes upgrading to Apache MINA SSHD version 2.19.0 or 3.0.0-M5, which implements a command whitelist to restrict operations and improve security.
Affected Version(s)
Apache MINA SSHD 2.0.0 <= 2.18.0
Apache MINA SSHD 3.0.0-M1 <= 3.0.0-M4
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache(CRITICAL)
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions(CRITICAL)
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions(CRITICAL)
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2(HIGH)
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution(CRITICAL)
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau(CRITICAL)
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module(CRITICAL)
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint(CRITICAL)