Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-58624

published medium CVSS 3.1 · 5.4

Apache MINA SSHD: Remote execution of JGit commands can write files on the server

Published
20 Jul 2026, 20:27:39 UTC
Updated
21 Jul 2026, 17:15:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — org.apache.sshd:sshd-gitApache MINA SSHD · 2.0.0 through 2.18.0 · 3.0.0-M1 through 3.0.0-M4 · Other versions: unaffected Affected Not stated apache
SUSE / openSUSE SLE-15-SP4 apache-sshdnoarch Advisory build 2.19.0-150200.5.16.1 SUSE-SU-2026:3339-1
SUSE / openSUSE SLE-15-SP5 apache-sshdnoarch Advisory build 2.19.0-150200.5.16.1 SUSE-SU-2026:3339-1
SUSE / openSUSE SLE-15-SP6 apache-sshdnoarch Advisory build 2.19.0-150200.5.16.1 SUSE-SU-2026:3339-1
SUSE / openSUSE SLE-15-SP7 apache-sshdnoarch Advisory build 2.19.0-150200.5.16.1 SUSE-SU-2026:3339-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshdaarch64 Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshdppc64le Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshds390x Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed apache-sshdx86_64 Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshd-javadocaarch64 Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshd-javadocppc64le Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshd-javadocs390x Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1
SUSE / openSUSE openSUSE-Tumbleweed apache-sshd-javadocx86_64 Advisory build 2.19.0-2.1 OPENSUSE-SU-2026:11327-1

Description

Improper input validation in sshd-git in Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. Component org.apache.sshd:sshd-git provides though its GitPgmCommandFactory a way to configure an Apache MINA SSHD server such that SSH clients can remotely execute git commands via the JGit library on git repositories stored on the server. This GitPgmCommandFactory allowed a user authenticated via SSH to run any JGit command available, including commands that could write files at arbitrary places such as git archive with the --output option. Affected are SSH servers implemented with Apache MINA SSHD and using the GitPgmCommandFactory. If the GitPgmCommandFactory is not configured on the server, the server is not affected. It is recommended to upgrade affected servers to Apache MINA SSHD 2.19.0 or 3.0.0-M5, which fix this issue. The issue is fixed by restricting the available commands to a small whitelist of uncritical commands (such as git log). git archive is also allowed, but its --output argument is ignored and the archive is always sent through the SSH channel to the client.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.4 / 10
Severity
medium
Provider
apache · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache MINA SSHD 2.0.0 through 2.18.0 (affected · maven)3.0.0-M1 through 3.0.0-M4 (affected · maven)Default: unaffected apache · cna

Weaknesses

1
  • CWE-20 CWE-20 Improper Input Validation (apache · cna)

References

2

Provider assertions

3

apache · cna

Apache MINA SSHD: Remote execution of JGit commands can write files on the server

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
496d39fa4032199079542dd3d1eb0f5205de21672ac019c92ef97672a204da98
Ingested
23 Sep 2026, 09:22:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected