CVE-2026-93995
Apache MINA SSHD: Remote execution of JGit "archive -o=file.zip" can write file on the server
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.5
Apache MINA SSHD: Remote execution of JGit "archive -o=file.zip" can write file on the server
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.
- Record
CVE-2026-93995- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2026-89755
6.5
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.
- Record
EUVD-2026-89755- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9jwj-xh8m-f4vf
6.5
Improper input validation in sshd-git in Apache MINA SSHD, versions up to 2.19.0 and 3.0.0-M1 to...
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.
- Record
GHSA-9jwj-xh8m-f4vf- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
6.5
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.
- Record
CVE-2026-93995- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-93995
6.5
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.
- Record
DEBIAN-CVE-2026-93995- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-93995
6.5
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.
- Record
UBUNTU-CVE-2026-93995- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11940-1 No score
apache-sshd-2.20.0-1.1 on GA media
These are all security issues fixed in the apache-sshd-2.20.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11940-1- Updated
- 2026-11-02
OSVRHLW-2026-9020b77e982da216 No score
Lightwell Security Advisory: sshd-git 2.19.0.rhlw-00003
Red Hat Lightwell has released org.apache.sshd:sshd-git 2.19.0.rhlw-00003 with a backported security fix.
This patched artifact is a drop-in replacement for org.apache.sshd:sshd-git 2.19.0 from Maven Central.
- Record
RHLW-2026-9020b77e982da216- Updated
- 2026-11-02
OSVSUSE-SU-2026:4622-1 No score
Security update for apache-sshd
This update for apache-sshd fixes the following issues:
- CVE-2026-77185: Asynchronous authentication can bypass signature verification (bsc#1283357).
- CVE-2026-93994: Repeated-publickey policy bypass on server (bsc#1283352).
- CVE-2026-93995: Remote execution of JGit 'archive -o=file.zip' can write file on the server (bsc#1283350).
- CVE-2026-93996: Memory exhaustion DoS via unbounded SCP command line read (bsc#1283348).
- CVE-2026-94002: Memory exhaustion in SFTP client via unsolicited SFTP replies (bsc#1283347).
- CVE-2026-94029: Memory exhaustion in SFTP v6 check-file-name/check-file-handle extension (bsc#1283346).
- CVE-2026-94052: LDAP password authentication ineffective (bsc#1283345).
- CVE-2026-94053: LDAP injection in sshd-ldap (bsc#1283344).
Changes for apache-sshd:
- Update to upstream version 2.20.0:
- GH-656 ChannelPipedInputStream: shrink buffer when emptied
- GH-906 Fix finding a signature factory for BC ed25519 keys
- GH-911 Fix server-side SOCKS5 proxy for fragmented and pipelined CONNECT requests
- Allow asynchronous authentication only for password and keyboard-interactive authentication schemes
- Fix authentication requiring multiple public keys (server-side)
- Better argument handling in sshd-git
- More checks in authentication (server-side)
- Better SCP command handling
- SFTP client: simplify response message handling
- Fix check-file-name/check-file-handle SFTP v6 extension
- Improve LDAP authentication (sshd-ldap)
- New Features
- GH-905 Implement the 'from' and 'expiry-time' options in authorized_keys handling in public key authentication (server side)
- Record
SUSE-SU-2026:4622-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libmina-sshd-javaDebian:13 |
All versions, plus listed versions 2.13.2-22.13.2-3 |
None known |
libmina-sshd-javaDebian:14 |
All versions, plus listed versions 2.13.2-22.13.2-3 |
None known |
org.apache.sshd:sshd-gitRed Hat Lightwell:Maven |
before 2.19.0.rhlw-00003, plus listed versions 0.12.00.13.00.14.01.0.01.1.0 Show 34 moreShow less1.1.11.2.01.3.01.4.01.6.01.7.02.0.02.1.02.10.02.11.02.12.02.12.12.13.02.13.12.13.22.14.02.15.02.16.02.17.02.17.12.18.02.19.02.2.02.3.02.4.02.5.02.5.12.6.02.7.02.8.02.9.02.9.12.9.22.9.3 |
2.19.0.rhlw-00003 |
apache-sshdSUSE:Linux Enterprise Module for Development Tools 15 SP7 From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise Server 15 SP4-LTSS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise Server 15 SP5-LTSS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
apache-sshdSUSE:Linux Enterprise Server 15 SP6-LTSS From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise Server for SAP Applications 15 SP4 From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise Server for SAP Applications 15 SP5 From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
apache-sshdSUSE:Linux Enterprise Server for SAP Applications 15 SP6 From an advisory covering 8 CVEs |
before 2.20.0-150200.5.19.1 | 2.20.0-150200.5.19.1 |
minaUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.7.dfsg-11 |
None known |
mina2Ubuntu:16.04:LTS |
All versions, plus listed versions 2.0.7+dfsg-22.0.9-12.0.9-2 |
None known |
minaUbuntu:18.04:LTS |
All versions, plus listed versions 1.1.7.dfsg-111.1.7.dfsg-12 |
None known |
mina2Ubuntu:18.04:LTS |
All versions, plus listed versions 2.0.16-2 |
None known |
minaUbuntu:20.04:LTS |
All versions, plus listed versions 1.1.7.dfsg-13 |
None known |
mina2Ubuntu:20.04:LTS |
All versions, plus listed versions 2.0.19-2 |
None known |
minaUbuntu:22.04:LTS |
All versions, plus listed versions 1.1.7.dfsg-13 |
None known |
mina2Ubuntu:Pro:22.04:LTS |
All versions, plus listed versions 2.1.4-22.1.5-12.1.5-1ubuntu0.1~esm1 |
None known |
minaUbuntu:24.04:LTS |
All versions, plus listed versions 1.1.7.dfsg-131.1.7.dfsg-13ubuntu1 |
None known |
mina2Ubuntu:Pro:24.04:LTS |
All versions, plus listed versions 2.2.1-32.2.1-3ubuntu0.1~esm1 |
None known |
mina2Ubuntu:26.10 |
All versions, plus listed versions 2.2.1-42.2.1-4ubuntu12.2.9-1 |
None known |
mina2Ubuntu:Pro:26.04:LTS |
All versions, plus listed versions 2.2.1-42.2.1-4ubuntu0.1~esm1 |
None known |
apache-sshdopenSUSE:Tumbleweed From an advisory covering 8 CVEs |
before 2.20.0-1.1 | 2.20.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-93995 is a medium vulnerability (CVSS 6.5) in Apache Software Foundation Mina Sshd, published September 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 13th percentile. Fixed in org.apache.sshd:sshd-git 2.19.0.rhlw-00003.
References
lists.apache.org/thread.html/k13ox2xlry38h9gh6rhmh1d9zs345clk
nvd.nist.gov/vuln/detail/CVE-2026-93995
github.com/advisories/GHSA-9jwj-xh8m-f4vf
security-tracker.debian.org/tracker/CVE-2026-93995
suse.com/support/update/announcement/2026/suse-su-20264622-1
bugzilla.suse.com/1283344
Show 18 moreShow less
bugzilla.suse.com/1283345
bugzilla.suse.com/1283346
bugzilla.suse.com/1283347
bugzilla.suse.com/1283348
bugzilla.suse.com/1283350
bugzilla.suse.com/1283352
bugzilla.suse.com/1283357
suse.com/security/cve/CVE-2026-77185
suse.com/security/cve/CVE-2026-93994
suse.com/security/cve/CVE-2026-93995
suse.com/security/cve/CVE-2026-93996
suse.com/security/cve/CVE-2026-94002
suse.com/security/cve/CVE-2026-94029
suse.com/security/cve/CVE-2026-94052
suse.com/security/cve/CVE-2026-94053
ubuntu.com/security/CVE-2026-93995
cve.org/CVERecord?id=CVE-2026-93995
openwall.com/lists/oss-security/2026/09/29/34