Skip to content

CVE-2026-94053 Apache MINA SSHD: LDAP injection in sshd-ldap

CriticalCVSS 9.1 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 2 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/libmina-sshd-java(Debian 13) = 2.13.2-2; = 2.13.2-3; = 2.19.0-1; = 2.20.1-1 +1 more No fix listed No fix yet
ubuntu/mina2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/mina2(Ubuntu 26.10) All versions No fix listed No fix yet
debian/libmina-sshd-java(Debian 14) < 2.20.1-1; = 2.13.2-2; = 2.13.2-3; = 2.19.0-1 2.20.1-1 Fixed
org.apache.sshd/sshd-ldap(Maven) >= 1.2.0, < 2.20.0; >= 3.0.0-M1, < 3.0.0-M6 2.20.0, 3.0.0-M6 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.sshd/sshd-ldap(Maven) >= 1.2.0, < 2.20.0 2.20.0
org.apache.sshd/sshd-ldap(Maven) >= 3.0.0-M1, < 3.0.0-M6 3.0.0-M6
debian/libmina-sshd-java(Debian:13) All versions No fix listed
debian/libmina-sshd-java(Debian:13) = 2.13.2-2 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.13.2-3 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.19.0-1 No fix listed
debian/libmina-sshd-java(Debian:13) = 2.20.1-1 No fix listed
debian/libmina-sshd-java(Debian:14) < 2.20.1-1 2.20.1-1
debian/libmina-sshd-java(Debian:14) = 2.13.2-2 No fix listed
debian/libmina-sshd-java(Debian:14) = 2.13.2-3 No fix listed
debian/libmina-sshd-java(Debian:14) = 2.19.0-1 No fix listed
ubuntu/mina2(Ubuntu:22.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.04) All versions No fix listed
ubuntu/mina2(Ubuntu:26.10) All versions No fix listed
ubuntu/mina2(Ubuntu:24.04) All versions No fix listed

References