{"id":"GHSA-jrv5-8w28-4265","summary":"Spring LDAP has Authentication Bypass with Empty Password","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.\n\nAffected versions:\nSpring 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.","aliases":["CVE-2026-41720"],"modified":"2026-09-10T03:51:09.061872621Z","published":"2026-06-09T06:31:57Z","database_specific":{"cwe_ids":["CWE-287"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-07-29T18:15:29Z","nvd_published_at":"2026-06-09T05:16:35Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41720"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/issues/407"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/commit/30b90c9fb61af87208ed051fc31349ef4d418f75"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/commit/5cc73a6b7fb1d2bcb950c4d69221c6d192d79795"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/commit/e2748d44bdce4f6cb4663b9b8d8462e34808f09c"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ldap"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/releases/tag/3.3.8"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ldap/releases/tag/4.0.4"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41720"}],"affected":[{"package":{"name":"org.springframework.ldap:spring-ldap-core","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ldap/spring-ldap-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.4"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.0.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jrv5-8w28-4265/GHSA-jrv5-8w28-4265.json"}},{"package":{"name":"org.springframework.ldap:spring-ldap-core","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ldap/spring-ldap-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.8"}]}],"versions":["3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.3.7"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.3.7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jrv5-8w28-4265/GHSA-jrv5-8w28-4265.json"}},{"package":{"name":"org.springframework.ldap:spring-ldap-core","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ldap/spring-ldap-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"last_affected":"3.2.16"}]}],"versions":["3.2.0","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13","3.2.14","3.2.15","3.2.16","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jrv5-8w28-4265/GHSA-jrv5-8w28-4265.json"}},{"package":{"name":"org.springframework.ldap:spring-ldap-core","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ldap/spring-ldap-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.4"}]}],"versions":["1.3.0.RELEASE","1.3.1.RELEASE","1.3.2.RELEASE","2.0.0.RELEASE","2.0.1.RELEASE","2.0.2.RELEASE","2.0.3.RELEASE","2.0.4.RELEASE","2.1.0.RELEASE","2.2.0.RELEASE","2.2.1.RELEASE","2.3.0.RELEASE","2.3.1.RELEASE","2.3.2.RELEASE","2.3.3.RELEASE","2.3.4.RELEASE","2.3.5.RELEASE","2.3.6.RELEASE","2.3.7.RELEASE","2.3.8.RELEASE","2.4.0","2.4.1","2.4.2","2.4.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jrv5-8w28-4265/GHSA-jrv5-8w28-4265.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}