~ / search / GHSA-jrv5-8w28-4265

GHSA-jrv5-8w28-4265

Spring LDAP has Authentication Bypass with Empty Password

Source: GitHub Advisory Database (reviewed) High CVE-2026-41720

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework.ldap:spring-ldap-core >= 4.0.0, < 4.0.4 4.0.4
Maven org.springframework.ldap:spring-ldap-core >= 3.3.0, < 3.3.8 3.3.8
Maven org.springframework.ldap:spring-ldap-core >= 3.2.0, <= 3.2.16 no fix listed
Maven org.springframework.ldap:spring-ldap-core <= 2.4.4 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.