CVE-2026-56624
Apache MINA SSHD: SSH certificate options lack validations
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sshd » sshd-corepreliminary | >= 2.0.0, <= 2.18.0>= 3.0.0-M1, <= 3.0.0-M4 | - |
Blast radius
45% of the dependent artifacts (1,185) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.codehaus.mojo » buildnumber-maven-plugin2,777 usages
- org.apache.maven.plugins » maven-scm-plugin1,577 usages
- org.apache.maven.plugins » maven-scm-publish-plugin719 usages
- org.pitest » pitest-maven685 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- io.github.git-commit-id » git-commit-id-maven-plugin493 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- com.amashchenko.maven.plugin » gitflow-maven-plugin377 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.wildfly.core » wildfly-core-feature-pack320 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.wildfly » wildfly-servlet-feature-pack289 usages
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
| Advisory | CVE record CVE-2026-56624 | github.com |
| Advisory | thread/o4c2jml522j3z80gbryqzc2f1253ltp6 | lists.apache.org |
| Advisory | NVD CVE-2026-56624 | nvd.nist.gov |
| Web | lists/oss-security/2026/07/20/17 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
