CVE-2026-41720: Spring LDAP has Authentication Bypass with Empty Password
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.
Published Jun 9, 2026 · Updated Jul 29, 2026
Affected packages
org.springframework.ldap:spring-ldap-core
- Ecosystem
- Maven
- Affected
- >= 4.0.0, <= 4.0.3
- Fixed in
- 4.0.4
- Check
mvn dependency:tree -Dincludes=org.springframework.ldap:spring-ldap-core
org.springframework.ldap:spring-ldap-core
- Ecosystem
- Maven
- Affected
- >= 3.3.0, <= 3.3.7
- Fixed in
- 3.3.8
- Check
mvn dependency:tree -Dincludes=org.springframework.ldap:spring-ldap-core
org.springframework.ldap:spring-ldap-core
- Ecosystem
- Maven
- Affected
- >= 3.2.0, <= 3.2.16
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.ldap:spring-ldap-core
org.springframework.ldap:spring-ldap-core
- Ecosystem
- Maven
- Affected
- <= 2.4.4
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.ldap:spring-ldap-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41720
- https://spring.io/security/cve-2026-41720
- https://github.com/spring-projects/spring-ldap/issues/407
- https://github.com/spring-projects/spring-ldap/commit/30b90c9fb61af87208ed051fc31349ef4d418f75
- https://github.com/spring-projects/spring-ldap/commit/5cc73a6b7fb1d2bcb950c4d69221c6d192d79795
- https://github.com/spring-projects/spring-ldap/commit/e2748d44bdce4f6cb4663b9b8d8462e34808f09c
- https://github.com/spring-projects/spring-ldap/releases/tag/3.3.8
- https://github.com/spring-projects/spring-ldap/releases/tag/4.0.4
- https://github.com/advisories/GHSA-jrv5-8w28-4265
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
