Skip to main content

Apache MINA SSHD CVE-2026-94053

| EUVDEUVD-2026-89757 CRITICAL
LDAP Injection (CWE-90)
9.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach MINA SSHD server over network
  2. Delivery
    Submit username '*' and password '*'
  3. Exploit
    Wildcards injected into unescaped LDAP filter
  4. Execution
    Filter matches, authentication bypassed
  5. Impact
    Obtain authenticated SSH session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization LDAP query parameterization
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target SSH server is implemented with Apache MINA SSHD AND has the optional sshd-ldap component deployed AND has configured sshd-ldap to perform password or publickey authentication against an LDAP directory - this is not a default configuration and MINA SSHD servers without sshd-ldap are entirely unaffected. When that condition holds, no further prerequisites apply: it is remote, unauthenticated (PR:N), needs no user interaction, and works against the vulnerable versions (1.2.0-2.19.0, 3.0.0-M1 to 3.0.0-M5) by simply supplying username '*' and password '*'. The primary limiting factor is the narrow, opt-in deployment surface rather than any per-attempt difficulty.

Impact

This is a genuine high-priority pre-authentication flaw where signals largely align rather than conflict. The vendor CVSS3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, base 9.1) is internally consistent with the description: a network-reachable, no-privilege, no-interaction LDAP injection that yields a full authentication bypass. I concur with 9.1. The one nuance worth stating explicitly is exposure scope: exploitation is entirely gated on the optional sshd-ldap component being present AND configured for LDAP-backed password or publickey authentication - servers not using sshd-ldap are unaffected, so raw CVSS overstates fleet-wide risk. There is no EPSS score, no CISA KEV listing, and no published proof-of-concept in the provided sources; however the exploit primitive is trivially describable (literal username '*' and password '*'), so the practical barrier to weaponization is near zero for anyone who reads the advisory. No SSVC decision data was provided. Net: a critical-severity bug on the affected subset, best treated as MED-HIGH real-world priority because the vulnerable deployment pattern is a minority of MINA SSHD installations.

Exploit ScenarioDerived

An attacker connects over the network to an SSH server built on Apache MINA SSHD that has the optional sshd-ldap component configured for LDAP password or publickey authentication. They supply the username '*' and password '*', which are passed unescaped into the LDAP search filter and match/bind against the directory, bypassing authentication entirely and granting a valid session. No public exploit is published, but the technique is trivial to reproduce from the advisory text.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 30, 2026

Authentication bypass in the optional sshd-ldap component of Apache MINA SSHD (versions 1.2.0 through 2.19.0 and 3.0.0-M1 through 3.0.0-M5) lets unauthenticated remote attackers complete SSH authentication by submitting the literal username "*" with the password "*", because LDAP filter metacharacters from user-supplied credentials are not escaped before being embedded in the search filter. Rated CVSS 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), the flaw is trivially reachable but only on servers that both embed the MINA SSHD library and have deployed and configured sshd-ldap for password or publickey authentication; stock MINA SSHD deployments without that optional component are entirely unaffected, and no public exploit code was identified at time of analysis. Apache ships fixes in 2.20.0 and 3.0.0-M6, which apply proper RFC 4515 escaping.

Earlier versions of this analysis (1)
v1 Sep 29, 2026 - 20:16

LDAP injection in the optional sshd-ldap module of Apache MINA SSHD allows remote, unauthenticated attackers to manipulate the LDAP search filters the module builds from attacker-supplied input, most plausibly the SSH username. Exploitation is only possible in deployments that have explicitly enabled and wired sshd-ldap to an LDAP or Active Directory backend, which is a non-default, opt-in configuration; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, with the concrete outcome (authentication bypass versus blind directory data extraction) depending on how the filter is constructed and not yet confirmed. No public exploit code or confirmed active exploitation has been identified at time of analysis, and the only intelligence source is the oss-security disclosure.

RemediationAI

Vendor-released patch: upgrade to Apache MINA SSHD 2.20.0 or 3.0.0-M6, which escape LDAP filter parameters according to RFC 4515; see https://seclists.org/oss-sec/2026/q3/1012 and the Apache thread at https://lists.apache.org/thread.html/cyrxkdzl3c70rrqs3klqphqz1hwm7p41. Deployments that cannot upgrade immediately should first remove the sshd-ldap dependency entirely if LDAP-backed authentication is not actually in use - this fully eliminates exposure with no functional loss in that case - or, if LDAP authentication is required, temporarily disable sshd-ldap for password and publickey authentication (falling back to local or keyfile-backed authentication), accepting the operational cost of provisioning credentials by another route. Additional compensating controls, each with trade-offs: place the SSH listener behind network ACLs, a bastion, or a VPN so only trusted management networks can reach it (reduces exposure but does not remove it for internal attackers and adds access friction); add upstream validation or a reverse proxy that rejects usernames containing LDAP metacharacters such as *, (, ) and NUL before they reach MINA SSHD (blocks the known wildcard payload but risks breaking legitimate directory usernames and is a stopgap, not a fix); and alert on authentication attempts using a bare "*" username or wildcard-bearing credentials, which is a reliable detection signal for this specific attack but is only a detective control. Note that no public exploit code was identified at time of analysis, so urgency derives from the flaw's unauthenticated 9.1 severity rather than confirmed exploitation.

Affected VersionsENISA

Apache Mina SSHD 1.2.0 <2.20.0
Apache Mina SSHD 3.0.0-M1 <3.0.0-M6

Affected Packages

euvd apache_mina_sshd fix: 2.20.0, 3.0.0-M6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache MINA SSHD is a pure-Java SSH client/server library, and sshd-ldap is an optional extension that delegates server-side password and publickey authentication to an LDAP directory. Root cause is CWE-90 (LDAP Injection): values taken from the SSH authentication exchange - most notably the supplied username - are concatenated into an LDAP search filter without escaping the metacharacters defined in RFC 4515 (such as *, (, ), \ and NUL). A filter such as (uid={0}) with an unescaped wildcard therefore degenerates into a match-anything search, so the attacker-chosen credential pair "*" / "*" satisfies the lookup and the SSH server treats the session as authenticated. The vulnerable path is the LDAP search used to locate and bind the account; the defect is input handling in the filter constructor, not in the SSH transport or cipher layers, so the fix in 2.20.0 and 3.0.0-M6 is strictly a matter of escaping filter parameters per RFC 4515. Because the affected code is a server-side authentication backend, exploitation is limited to SSH servers built on MINA SSHD that actively route authentication through LDAP.

Know when LDAP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

Remote, no privileges or interaction, low complexity; full auth bypass grants confidentiality and integrity impact, no direct availability effect, no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat CRITICAL

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Patch available
Sep 30, 2026 - 11:01 EUVD
Analysis Updated
Sep 30, 2026 - 10:28 vuln.today
v2 - CVSS changed
CVSS changed
Sep 30, 2026 - 10:22 NVD
9.1 (CRITICAL)
CVE Published
Sep 29, 2026 - 18:31 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

A critical authentication bypass in the optional sshd-ldap component of Apache MINA SSHD (1.2.0-2.19.0 and 3.0.0-M1-3.0.0-M5) allows an unauthenticated remote attacker to log in as any user by submitting an asterisk as both username and password, giving full SSH access to affected hosts. Only systems that both embed the MINA SSHD library and have deliberately deployed and configured sshd-ldap for password or publickey authentication are exposed; stock MINA SSHD deployments without that component are unaffected. Leadership should care because any organization running this configuration could face unauthorized administrative access, lateral movement, and data compromise from a trivial, low-skill attack.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
Apache MINA SSHD is a common Java library, but only the optional sshd-ldap config is affected
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in LDAP

View all
CVE-2016-9299 CRITICAL POC
9.8 Jan 12

The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a

CVE-2017-14596 CRITICAL POC
9.8 Sep 20

In Joomla!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required,

CVE-2017-8790 CRITICAL POC
9.8 May 05

An issue was discovered on Accellion FTA devices before FTA_9_12_180. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-15723 HIGH POC
8.2 Oct 21

An authenticated GitLab user can seize control of an existing LDAP-backed account on instances that have both OmniAuth S

CVE-2026-11748 MEDIUM POC
6.9 Jun 22

LDAP injection in Central Dogma's Apache Shiro-based authentication module exposes unauthenticated remote attackers to a

CVE-2023-28853 MEDIUM POC
6.5 Apr 04

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2020-36966 MEDIUM POC
6.4 Jan 30

Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows at

CVE-2025-36556 MEDIUM POC
6.1 Jan 20

A reflected cross-site scripting (xss) vulnerability exists in the ldapUser functionality of MedDream PACS Premium 7.3.6

CVE-2026-17392 CRITICAL
9.9 Nov 07

LDAP injection in IBM API Connect (10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2) lets a remote attacker who

CVE-2026-23906 CRITICAL
9.8 Feb 10

Authentication bypass in Apache Druid versions 0.17.0 through 35.x. Affects all versions prior to 36.0.0 when specific p

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2024-33868 CRITICAL
9.8 May 14

An issue was discovered in linqi before 1.4.0.1 on Windows. Rated critical severity (CVSS 9.8), this vulnerability is re

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy