CVEfocus › CVE database › CVE-2026-93995

CVE-2026-93995Apache MINA SSHD: Remote execution of JGit "archive -o=file.zip" can write file on the…

CVSS 6.5 MediumEPSS 0.2% (higher than 14% of CVEs)Published 2026-09-30Updated 2026-09-30Assigner: apache

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.

CWE-20

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
11Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 26.04mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 24.04minaUnder investigationUBUNTU-CVE-2026-93995
Ubuntu 24.04mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 22.04minaUnder investigationUBUNTU-CVE-2026-93995
Ubuntu 22.04mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 20.04minaFix pendingUBUNTU-CVE-2026-93995
Ubuntu 20.04mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 18.04minaFix pendingUBUNTU-CVE-2026-93995
Ubuntu 18.04mina2Fix pendingUBUNTU-CVE-2026-93995
Ubuntu 16.04minaFix pendingUBUNTU-CVE-2026-93995
Ubuntu 16.04mina2Fix pendingUBUNTU-CVE-2026-93995
Debian 14libmina-sshd-javaFixed2.20.1-1DEBIAN-CVE-2026-93995
Debian 13libmina-sshd-javaFix pendingDEBIAN-CVE-2026-93995

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.