Impact
Improper input validation in the sshd-git component of Apache MINA SSHD allows an authenticated SSH user to execute arbitrary JGit commands, including those that can write files to arbitrary locations on the server. This input validation flaw (CWE‑20) enables an attacker to place or overwrite files, potentially leading to persistence, sabotage, or further code execution if the written files are interpreted by the system.
Affected Systems
The vulnerability affects servers built with Apache MINA SSHD that have the GitPgmCommandFactory enabled to allow SSH clients to run JGit commands. Any version of Apache MINA SSHD prior to 2.19.0 and 3.0.0‑M5 is susceptible; the fixed versions are 2.19.0, 3.0.0‑M5, and later releases.
Risk and Exploitability
The likely attack vector is an authenticated SSH session. The CVSS score of 5.4 indicates moderate severity. The EPSS score below 1% shows a low but non‑zero chance of exploitation. It is not listed in CISA KEV, reducing the likelihood of widespread active exploitation. This issue requires an authenticated SSH login and can be leveraged to write arbitrary files, but it does not provide immediate remote code execution without additional steps.
OpenCVE Enrichment