CVE-2026-77185
Apache MINA SSHD: Asynchronous authentication can bypass signature verification
Description
Authentication bypass in sshd-core in Apache MINA SSHD versions 2.0.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5 for a certain (presumed rare) way to implement an SSH server.
Apache MINA SSHD is a Java library for client- and server-side SSH. In the server part of the library, a mechanism to perform "asynchronous authentication" exists. A server implemented with Apache MINA SSHD must contain explicit code to make use of this feature. The implementation of this feature was flawed and could potentially lead to skipping checking the signature in public-key or hostbased authentication, or returning a wrong result.
Users are recommended to upgrade to Apache MINA SSHD 2.20.0 or 3.0.0-M6, which fix the logic error and which additionally forbid the use of this "asynchronous authentication" mechanism with the public-key or hostbased authentication schemes: if used, the SSH session will be closed and the server will log an entry indicating that asynchronous authentication may be used only with password or keyboard-interactive authentication.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.sshd » sshd-corepreliminary | >= 2.0.0, < 2.20.0>= 3.0.0-M1, < 3.0.0-M6 | 2.20.0, 3.0.0-M6 |
Blast radius
50% of the dependent artifacts (1,312) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12,043 |
| 2 hops | 42,943 |
| 3 hops | 40,888 |
| 4 hops | 27,616 |
| 5 hops | 9,453 |
| 6 hops | 6,624 |
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.
