Authentication Flaw in Spring LDAP Affects User Login Security
CVE-2026-41720
Key Information:
- Vendor
Spring
- Status
- Spring Ldap
- CVE ID
- CVE ID:
- CVE-2026-41720
- Vendor
- CVE Published:
- 9 June 2026
- Fixed in
- Fixed in:
- 2.4.5, 3.2.18, 3.3.7.1 +1 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the Spring LDAP release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Spring LDAP. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.4).
What is CVE-2026-41720?
CVE-2026-41720 is a vulnerability in Spring LDAP, specifically in the DirContextAuthenticationStrategy implementations. The flaw occurs when a bind request with a non-empty username is accepted even if the password is empty or null. An attacker can exploit this flaw to authenticate as any user without providing a valid password, potentially gaining unauthorized access to user accounts.
Affected versions include Spring LDAP 2.4.0 through 2.4.4, 3.2.0 through 3.2.17, 3.3.0 through 3.3.7, and 4.0.0 through 4.0.3.
Potential Impact of CVE-2026-41720
- Unauthorized access: An attacker can log in as any user without a password, compromising user account security.
References
More Spring Vulnerabilities
Document ID Injection in TypesenseVectorStore
Stream Corruption in Spring Framework
LDAP Vulnerability in Spring Security
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
