GHSA-9jwj-xh8m-f4vf
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate via SSH with valid credentials
-
DeliveryAccess sshd-git command interface
-
ExploitSend 'git archive -o=file.zip'
-
ExecutionBypass CVE-2026-58624 argument filter
-
ImpactWrite 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Mina Sshd
View allArbitrary file write in Apache MINA SSHD's sshd-scp component lets a malicious SCP sender place files outside the intend
Command-restriction bypass in Apache MINA SSHD (server-side) lets a user who authenticates with an OpenSSH user certific
Path traversal in Apache MINA SSHD's sshd-git component lets an authenticated remote user on Windows-hosted git servers
Arbitrary file write in Apache MINA SSHD's sshd-git component enables any SSH-authenticated user to write files to arbit
Same weakness CWE-20 – Improper Input Validation
View allSame technique Information Disclosure
View allVendor 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 |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.2 | Affected |
| SUSE Manager Server 4.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-89755
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB