GHSA-jrv5-8w28-4265
Spring LDAP has Authentication Bypass with Empty Password
Quick fix
GHSA-jrv5-8w28-4265 — org.springframework.ldap:spring-ldap-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.4</version> for org.springframework.ldap:spring-ldap-core Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0 Fixed in: 4.0.4 # pom.xml: bump <version>4.0.4</version> for org.springframework.ldap:spring-ldap-core 3.3.0 Fixed in: 3.3.8 # pom.xml: bump <version>3.3.8</version> for org.springframework.ldap:spring-ldap-core 3.2.0 No fixed version published yet for org.springframework.ldap:spring-ldap-core (maven). Pin to a known-safe version or switch to an alternative.
0 No fixed version published yet for org.springframework.ldap:spring-ldap-core (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41720 [ADVISORY]
- https://github.com/spring-projects/spring-ldap/issues/407 [WEB]
- https://github.com/spring-projects/spring-ldap/commit/30b90c9fb61af87208ed051fc31349ef4d418f75 [WEB]
- https://github.com/spring-projects/spring-ldap/commit/5cc73a6b7fb1d2bcb950c4d69221c6d192d79795 [WEB]
- https://github.com/spring-projects/spring-ldap/commit/e2748d44bdce4f6cb4663b9b8d8462e34808f09c [WEB]
- https://github.com/spring-projects/spring-ldap [PACKAGE]
- https://github.com/spring-projects/spring-ldap/releases/tag/3.3.8 [WEB]
- https://github.com/spring-projects/spring-ldap/releases/tag/4.0.4 [WEB]
- https://spring.io/security/cve-2026-41720 [WEB]