Improper Validation of Syntactic Correctness of Input Affecting org.apache.sshd:sshd-git package, versions [,2.20.0)[3.0.0-M1,3.0.0-M6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHESSHD-22283201
  • published8 Nov 2026
  • disclosed30 Sept 2026
  • creditHo1aAs

Introduced: 30 Sep 2026

CVE-2026-93995  (opens in a new tab)
CWE-1286  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade org.apache.sshd:sshd-git to version 2.20.0, 3.0.0-M6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input via the removeOutput function in EmbeddedCommandRunner. An authenticated SSH client can supply -o=file.zip to the permitted archive command when the whitelist is enabled, causing JGit to write the archive to a file on the server instead of streaming it back over SSH.

Notes

  • The SSH server must be configured with GitPgmCommandFactory to expose remote JGit commands, with archive among the commands clients may run.

CVSS Base Scores

version 4.0
version 3.1