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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-30 · Modified: 2026-09-30
- Aliases: UBUNTU-CVE-2026-93995, DEBIAN-CVE-2026-93995
- Record: https://cvemate.com/vulnerability/CVE-2026-93995 · JSON: https://cvemate.com/vulnerability/CVE-2026-93995/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.231%, percentile 14.851%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache mina sshd: \< 2.20.0 \| ≥ 3.0.0-M1, \< 3.0.0-M6
- debian libmina-sshd-java (Debian): All versions (No fix recorded) \| \< 2.20.1-1
- ubuntu mina (Ubuntu): All versions (No fix recorded)
- ubuntu mina2 (Ubuntu): All versions (No fix recorded)

## References

- <https://lists.apache.org/thread.html/k13ox2xlry38h9gh6rhmh1d9zs345clk>
- <https://ubuntu.com/security/CVE-2026-93995>
- <https://www.cve.org/CVERecord?id=CVE-2026-93995>
- <https://www.openwall.com/lists/oss-security/2026/09/29/34>
- <https://security-tracker.debian.org/tracker/CVE-2026-93995>

---

Data as of 2026-12-05T03:32:09.631Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
