CVE-2026-77185

Apache MINA SSHD: Asynchronous authentication can bypass signature verification

Published Sep 30, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache mina Sshd
Vendors & Products Apache
Apache mina Sshd
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'}

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 30, 2026, 4:52 PM
Reserved
Aug 20, 2026, 4:22 PM
Status
Awaiting Analysis
Published
Sep 30, 2026, 10:17 AM
Modified
Sep 30, 2026, 5:16 PM