CVE-2026-41720
Spring LDAP has Authentication Bypass with Empty Password
Overview
Description
Spring LDAP's DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an empty or null password.
Affected versions:
Spring LDAP 2.4.0 through 2.4.4; 3.2.0 through 3.2.17; 3.3.0 through 3.3.7; 4.0.0 through 4.0.3.
Source: OX vulnerability database
Severity
7.4 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-287
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.springframework.ldap:spring-ldap-core | >=4.0.0, <4.0.4>=3.3.0, <3.3.8>=3.2.0, <=3.2.16<=2.4.4 | 4.0.43.3.8 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| kafbat-ui | 1.5.0-r12 | |
| kafbat-ui-fips | 1.5.0-r6 | |
| geoserver-3-0 | 3.0.0-r5 | |
| camunda-zeebe-8-6 | 8.6.39-r5 |
References
- github.com https://github.com/spring-projects/spring-ldap
- github.com https://github.com/spring-projects/spring-ldap/commit/30b90c9fb61af87208ed051fc31349ef4d418f75
- github.com https://github.com/spring-projects/spring-ldap/commit/5cc73a6b7fb1d2bcb950c4d69221c6d192d79795
- github.com https://github.com/spring-projects/spring-ldap/commit/e2748d44bdce4f6cb4663b9b8d8462e34808f09c
- github.com https://github.com/spring-projects/spring-ldap/issues/407
- github.com https://github.com/spring-projects/spring-ldap/releases/tag/3.3.8
- github.com https://github.com/spring-projects/spring-ldap/releases/tag/4.0.4
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-41720
- spring.io https://spring.io/security/cve-2026-41720
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.