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.
Published: 2026-09-30
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass
Action: Immediate Patch
AI Analysis

Impact

The flaw is in the asynchronous authentication feature of Apache MINA SSHD. It can allow an attacker to bypass signature verification in public-key or hostbased authentication, effectively bypassing user identity checks and enabling unauthorized SSH logins. This creates a serious threat to confidentiality and integrity of the target system and can be leveraged to gain privileged remote access.

Affected Systems

The vulnerability affects versions 2.0.0 through 2.19.0 and 3.0.0-M1 through 3.0.0-M5 of the Apache MINA SSHD Java library. Any application that incorporates these library versions and enables the asynchronous authentication mechanism is at risk. The library is maintained by the Apache Software Foundation.

Risk and Exploitability

With a CVSS score of 9.1 the severity is critical. The EPSS score is not available, but the vulnerability is not listed in CISA’s KEV catalog. The attack vector is the SSH protocol; an attacker must be able to initiate an SSH session and exploit a server that has implemented asynchronous authentication for public-key or hostbased methods. If such a server is exposed to the network, remote exploitation is feasible and would result in an unauthenticated or unauthorised session. The flaw is considered rare in practice, yet its impact justifies immediate action.

Generated by OpenCVE AI on September 30, 2026 at 11:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache MINA SSHD library to version 2.20.0 or 3.0.0-M6, which corrects the logic error and prevents use of asynchronous authentication with public-key or hostbased schemes.
  • Configure the SSH server to disable the asynchronous authentication mechanism entirely or restrict it to password or keyboard‑interactive authentication; the server will close the session and log an entry if misuse is attempted.
  • Verify server configuration and logs for any evidence of asynchronous authentication being triggered with public-key or hostbased methods, and adjust code accordingly to ensure the updated logic is in effect.

Generated by OpenCVE AI on September 30, 2026 at 11:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache mina Sshd
Vendors & Products Apache
Apache mina Sshd

Wed, 30 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
References

Wed, 30 Sep 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title Apache MINA SSHD: Asynchronous authentication can bypass signature verification
Weaknesses CWE-305
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Apache Mina Sshd
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-30T16:52:13.274Z

Reserved: 2026-08-20T16:22:07.843Z

Link: CVE-2026-77185

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-30T10:17:17.123

Modified: 2026-09-30T17:16:49.877

Link: CVE-2026-77185

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T12:45:07Z

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness