Skip to content
RedCVE

CVE-2026-93995Apache MINA SSHD improper input validation

ApachePublished:

CVSS score

6.5

Medium

CVSS 3.1 from apache.org

Exploit probability (EPSS)

0.23%

0.23% chance of exploitation in the next 30 days, higher than 14.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security@apache.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Apache MINA SSHD and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Apache MINA SSHD to 2.20.0, 3.0.0-M6 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected products

Affected productsVersions
Apache Apache MINA SSHD< 2.20.0 · ≥ 3.0.0-M1, < 3.0.0-M6

Weakness

  • CWE-20 improper input validation

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-93995 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-93995?

CVE-2026-93995 has a CVSS 3.1 base score of 6.5 (medium).

Which versions are affected?

Apache Apache MINA SSHD (< 2.20.0; ≥ 3.0.0-M1, < 3.0.0-M6)

Is there a patch for CVE-2026-93995?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.