Description
Authentication bypass via LDAP injection in component sshd-ldap in Apache MINA SSHD versions 1.2.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5.




Apache MINA SSHD is a Java library for client-side and server-side SSH.
The optional sshd-ldap component provides support for integrating
password and publickey authentication on the server side with an LDAP
server.




sshd-ldap is an optional component. SSH servers implemented with Apache
MINA SSHD are affected only if they use sshd-ldap and do configure it to be used for password of public key authentication.

Other Apache MINA SSHD servers are not affected.




Lack of escaping LDAP filter metacharacters enabled successful authentication with username "*" and password "*".




Users are recommended to upgrade affected applications to version 2.20.0 or 3.0.0-M6, which fix this issue by properly escaping filter parameters according to RFC 4515.
Published: 2026-09-30
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass
Action: Patch immediately
AI Analysis

Impact

A flaw in the LDAP integration of Apache MINA SSHD allows an attacker to supply the literal values "*" for both the username and password, causing the server to authenticate successfully without credentials. The lack of proper escaping of LDAP filter metacharacters means the authentication decision is compromised, giving an adversary unauthorized access that can be used to exfiltrate data or launch further attacks. The vulnerability is classified as a severe authentication bypass, reflected in a 9.1 CVSS score, and poses a risk to confidentiality, integrity, and availability of the SSH service.

Affected Systems

The issue affects Apache MINA SSHD deployments that employ the optional sshd-ldap module in versions 1.2.0 through 2.19.0 and 3.0.0‑M1 through 3.0.0‑M5 when that module is enabled for password or public‑key authentication. Systems that do not use sshd‑ldap or keep it disabled are not impacted.

Risk and Exploitability

The high CVSS score and the nature of the flaw indicate a significant threat surface. The exploit requires remote access to the SSH server and the presence of the vulnerable module; no local privileges are needed. While the EPSS score is not provided, the lack of listing in the CISA KEV catalog suggests the vulnerability has not yet seen widespread exploitation, but the potential for unauthenticated remote bypass remains substantial.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Apache MINA SSHD to version 2.20.0 or 3.0.0‑M6, which corrects the LDAP filter handling.
  • If upgrade is not immediately feasible, disable the sshd‑ldap authentication path and use an alternative authentication mechanism.
  • Audit LDAP input handling and ensure all filter strings are properly escaped according to RFC 4515 to prevent injection.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 21: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 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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 via LDAP injection in component sshd-ldap in Apache MINA SSHD versions 1.2.0 to 2.19.0 and 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH. The optional sshd-ldap component provides support for integrating password and publickey authentication on the server side with an LDAP server. sshd-ldap is an optional component. SSH servers implemented with Apache MINA SSHD are affected only if they use sshd-ldap and do configure it to be used for password of public key authentication. Other Apache MINA SSHD servers are not affected. Lack of escaping LDAP filter metacharacters enabled successful authentication with username "*" and password "*". Users are recommended to upgrade affected applications to version 2.20.0 or 3.0.0-M6, which fix this issue by properly escaping filter parameters according to RFC 4515.
Title Apache MINA SSHD: LDAP injection in sshd-ldap
Weaknesses CWE-305
CWE-90
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-30T14:30:10.327Z

Reserved: 2026-09-19T22:33:01.194Z

Link: CVE-2026-94053

cve-icon Vulnrichment

Updated: 2026-09-30T10:14:24.255Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-09-30T16:13:13.493

Link: CVE-2026-94053

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:33:54Z

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-90

    Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')