CVE-2026-93995
Published:September 30, 2026
Updated:October 13, 2026
Improper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache
MINA SSHD is a Java library for client-side and server-side SSH.
Component org.apache.sshd:sshd-git provides though class GitPgmCommandFactory a way to configure an Apache MINA SSHD server such
that authenticated SSH clients can remotely execute git commands via the JGit library
on git repositories stored on the server. In CVE-2026-58624 this mechanism was restricted to only a few git commands, including "git archive" without "--output" or "-o" options such that the resulting archive would not be written on the server but instead sent back to the client over the SSH connection.
The fix done for CVE-2026-58624 was insufficient as it missed removing the single-argument "-o=file.zip" version of the command parameter from the "archive" command.
Users are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue.
Affected Packages
https://github.com/apache/mina-sshd.git (GITHUB):
Affected version(s) >=sshd-2.0.0 <sshd-2.20.0Fix Suggestion:
Update to version sshd-2.20.0https://github.com/apache/mina-sshd.git (GITHUB):
Affected version(s) >=sshd-3.0.0-M1 <sshd-3.0.0-M6Fix Suggestion:
Update to version sshd-3.0.0-M6org.apache.sshd:sshd-git (JAVA):
Affected version(s) >=2.0.0 <2.20.0Fix Suggestion:
Update to version 2.20.0org.apache.sshd:sshd-git (JAVA):
Affected version(s) >=3.0.0-M1 <3.0.0-M6Fix Suggestion:
Update to version 3.0.0-M6Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.27