Skip to main content

Apache MINA SSHD EUVDEUVD-2026-89755

| CVE-2026-93995 MEDIUM
Improper Input Validation (CWE-20)
6.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate via SSH with valid credentials
  2. Delivery
    Access sshd-git command interface
  3. Exploit
    Send 'git archive -o=file.zip'
  4. Execution
    Bypass CVE-2026-58624 argument filter
  5. Impact
    Write attacker-controlled file on server filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires the server to be configured with the sshd-git component's GitPgmCommandFactory so that authenticated SSH clients can remotely execute JGit git commands against repositories on the server - this is an optional, non-default deployment mode. The attacker must also possess valid SSH credentials (PR:L), so exploitation is limited to authenticated users. Given those conditions, exploitation is remote, low-complexity, and requires no user interaction: the attacker simply invokes 'git archive' with the single-argument '-o=file.zip' form, which the incomplete CVE-2026-58624 fix fails to block. Deployments not exposing remote git command execution are not affected.

Impact

This is a genuine but conditional integrity issue rather than a widespread panic-worthy flaw. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, 6.5 medium) indicates network-reachable, low-complexity exploitation but requires authenticated access (PR:L) - an attacker must already hold valid SSH credentials on the server. The impact is scoped purely to integrity (I:H, arbitrary file write on the server) with no confidentiality or availability effect claimed. No EPSS score, no CISA KEV listing, and no public POC were provided, so exploitation status is 'no public exploit identified at time of analysis.' Critically, exploitation is gated by a specific deployment choice: the server must be configured to expose GitPgmCommandFactory so authenticated SSH clients can run JGit git commands. This is a regression - the prior fix for CVE-2026-58624 restricted the allowed command set but missed the single-argument '-o=file.zip' form of 'git archive', so the mitigation is incomplete rather than a brand-new class of bug. Overall this is a real priority for the narrow set of deployments running sshd-git with remote git command execution enabled, and low practical risk elsewhere.

Exploit ScenarioDerived

An attacker who holds valid SSH credentials to a server running Apache MINA SSHD with the sshd-git GitPgmCommandFactory enabled connects and issues a 'git archive -o=output.zip' command. Because the CVE-2026-58624 fix failed to strip the single-argument '-o=file.zip' form, JGit writes the resulting archive to an attacker-chosen path on the server filesystem instead of streaming it back over the SSH connection. No public exploit code is identified, but the technique is trivial to reproduce given the description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 29, 2026

Improper input validation in the sshd-git component of Apache MINA SSHD lets authenticated SSH clients write arbitrary files onto the server by invoking 'git archive' with the single-argument '-o=file.zip' form. Only deployments that use GitPgmCommandFactory to expose remote JGit command execution to SSH clients are affected, and the attacker must hold valid SSH credentials (PR:L), so impact is a conditional integrity violation (C:N/I:H/A:N, CVSS 6.5) rather than a confidentiality or availability compromise. The flaw is an incomplete fix for CVE-2026-58624, which restricted git subcommands but missed the '-o=file.zip' variant; no public exploit code and no confirmed active exploitation were identified at time of analysis, and fixed releases are available (2.20.0 and 3.0.0-M6).

RemediationAI

Upgrade to the vendor-released patch: Apache MINA SSHD 2.20.0 or, for the 3.0.0 milestone line, 3.0.0-M6 - these releases complete the argument validation that CVE-2026-58624 left incomplete and again block the '-o=file.zip' form of 'git archive'. Deployment guidance is documented through the Apache MINA site (https://mina.apache.org/) and the oss-security advisory (https://seclists.org/oss-sec/2026/q3/1007). Where an immediate upgrade is not possible, the most effective compensating control is to stop exposing sshd-git remote command execution: remove or disable the GitPgmCommandFactory configuration from the SSH server so clients cannot invoke git commands at all - deployments that never enabled this optional mode are unaffected, so the trade-off is simply loss of the remote-git feature. As a narrower alternative, wrap or replace GitPgmCommandFactory with a custom CommandFactory that rejects any 'archive' invocation containing output-style parameters (both '-o <file>' and '-o=file.zip'), accepting the maintenance burden of keeping that filter in sync with upstream git/JGit argument syntax. Because exploitation requires valid SSH credentials, tightening SSH authentication - disabling shared accounts, enforcing key-based or MFA authentication, and reviewing accounts that are permitted to run git commands - reduces the eligible attacker set but does not by itself remove the flaw. Finally, note the prior CVE-2026-58624 fix is not sufficient; operators who applied only that mitigation must still move to 2.20.0 or 3.0.0-M6, and file-write monitoring on repository hosts can help detect exploitation attempts in the interim.

Affected VersionsENISA

Apache Mina SSHD 0 <2.20.0
Apache Mina SSHD 3.0.0-M1 <3.0.0-M6

Affected Packages

euvd apache_mina_sshd fix: 2.20.0, 3.0.0-M6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache MINA SSHD is a Java library implementing the SSH protocol for both client and server roles. Its optional subproject org.apache.sshd:sshd-git supplies GitPgmCommandFactory, which binds incoming SSH exec requests to git commands executed server-side through JGit against repositories hosted on that server. The security model depends on an allowlist that restricts which git subcommands and arguments clients may invoke; for 'git archive' the intent was to permit only the streaming form, where the archive is returned over the SSH channel instead of being written to server storage. CVE-2026-58624 tightened this allowlist but validated the command parameters incompletely. The root cause class is improper input validation (CWE-20): the argument filter rejected the '--output'/' -o <file>' spelling while retaining the equivalent single-argument '-o=file.zip' form, so an authorized SSH user could direct JGit to create a file at an attacker-chosen path on the server. Because the resulting impact is unauthorized server-side file creation with server process privileges, the assessed vector confirms integrity impact only, with no read or denial-of-service effect.

Know when Apache Mina Sshd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable and low-complexity, but requires authenticated SSH access (PR:L); impact is arbitrary server-side file write (I:H) with no confidentiality or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 30, 2026 - 11:01 EUVD
CVSS changed
Sep 30, 2026 - 10:22 NVD
6.5 (MEDIUM)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
widely used Java SSH library, but vulnerable sshd-git feature is optional and rarely enabled
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy