GitHub Advisoryadvisory · Maven

GHSA-jrv5-8w28-4265 Spring LDAP has Authentication Bypass with Empty Password

HIGH Published 2026-06-09 Modified 2026-07-29 Official page ↗
Aliases
CVE-2026-41720
Ecosystem
Maven
Packages
org.springframework.ldap:spring-ldap-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-287
Reviewed
2026-07-29

Affected packages

• Maven org.springframework.ldap:spring-ldap-core: >= 4.0.0, < 4.0.4 → fixed in 4.0.4 • Maven org.springframework.ldap:spring-ldap-core: >= 3.3.0, < 3.3.8 → fixed in 3.3.8 • Maven org.springframework.ldap:spring-ldap-core: >= 3.2.0, <= 3.2.16 (no fix yet) • Maven org.springframework.ldap:spring-ldap-core: <= 2.4.4 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-41720 Spring LDAP's DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an… vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References