HIGH 7.3

CVE-2026-56624

Apache MINA SSHD: SSH certificate options lack validations

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Improper certificate validation in Apache MINA SSHD (server-side). Apache MINA SSHD is a Java library for client-side and server-side SSH.

Server-side OpenSSH user certificate validation during user authentication in an Apache MINA SSHD server did not check for the unsupported force-command or verify-required options that could be embedded in the certificate, nor did it validate these options. As a result it was possible that a user could authenticate with such a certificate that included a force-command option but still was able to execute other commands. What other command exactly would be available to the user depends on the implementation of the server.

This issue is fixed in Apache MINA SSHD 2.19.0 and 3.0.0-M5. Applications are advised to upgrade to these versions.

The fix rejects OpenSSH user certificates that include these options, since Apache MINA SSHD implements neither force-command nor sk-*-cert-v01@openssh.com user certificates (which are the only ones for which verify-required would make sense).

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.sshd » sshd-corepreliminary
>= 2.0.0, <= 2.18.0>= 3.0.0-M1, <= 3.0.0-M4
-

Blast radius

1affected artifacts
45affected versions
2,611dependent artifacts (est.)
137,840dependent versions

45% of the dependent artifacts (1,185) still pull an affected version in their latest release.

DepthDependent versions
Direct
11,801
2 hops
42,644
3 hops
40,453
4 hops
27,173
5 hops
9,240
6 hops
6,529

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Webopenwall.com
Webrepo.maven.apache.org