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. (CVE-2026-93995)
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.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-93995) affects the sshd-git component of Apache MINA SSHD, a Java library for SSH client and server implementations. The component allows authenticated SSH clients to execute git commands via the JGit library on server-stored repositories. A prior fix for a related vulnerability (CVE-2026-58624) restricted certain git commands, including 'git archive', to prevent writing archives to the server. However, this fix did not cover the single-argument '-o=file.zip' option for 'git archive', allowing improper input validation and potentially unauthorized command execution. The issue is fixed in versions 2.20.0 and 3.0.0-M6.
Potential Impact
The vulnerability allows an authenticated SSH client to bypass restrictions on git command execution, specifically with the 'git archive' command using the '-o=file.zip' parameter. This can lead to unauthorized command execution on the server side, impacting the integrity of the system. There is no indication of confidentiality or availability impact. The CVSS score of 6.5 (medium severity) reflects the potential for integrity compromise with low attack complexity and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or 3.0.0-M6, where the vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor advisory recommending these versions.
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. (CVE-2026-93995)
Description
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:maven/org.apache.sshd/sshd-gitRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-93995) affects the sshd-git component of Apache MINA SSHD, a Java library for SSH client and server implementations. The component allows authenticated SSH clients to execute git commands via the JGit library on server-stored repositories. A prior fix for a related vulnerability (CVE-2026-58624) restricted certain git commands, including 'git archive', to prevent writing archives to the server. However, this fix did not cover the single-argument '-o=file.zip' option for 'git archive', allowing improper input validation and potentially unauthorized command execution. The issue is fixed in versions 2.20.0 and 3.0.0-M6.
Potential Impact
The vulnerability allows an authenticated SSH client to bypass restrictions on git command execution, specifically with the 'git archive' command using the '-o=file.zip' parameter. This can lead to unauthorized command execution on the server side, impacting the integrity of the system. There is no indication of confidentiality or availability impact. The CVSS score of 6.5 (medium severity) reflects the potential for integrity compromise with low attack complexity and no user interaction required.
Mitigation Recommendations
Users should upgrade Apache MINA SSHD to version 2.20.0 or 3.0.0-M6, where the vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor advisory recommending these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9jwj-xh8m-f4vf
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-93995"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abd30782a4e24523d33ff97
Added to database: 09/30/2026, 15:53:28 UTC
Last enriched: 09/30/2026, 15:55:55 UTC
Last updated: 10/01/2026, 05:08:55 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.