Intel

AIKIDO-2026-288860

spring-security-ldap is vulnerable to Use of Hard-coded Credentials

Use of Hard-coded CredentialsCVE-2026-59270 Published Aug 21, 2026

94

Critical Risk

This Affects:

JAVAspring-security-ldap
5.7.0 - 7.0.6
Fixed in 7.0.7
7.1.0 - 7.1.0
Fixed in 7.1.1
Are you affected? Scan for Free

TL;DR

spring-security-ldap embedded UnboundID LDAP server registers a well-known administrative bind DN and listens on all network interfaces. Anyone who can reach the LDAP port can bind as that admin and read or modify the in-memory directory. This applies when UnboundIdContainer is used directly or via spring.ldap.embedded.*. The patch binds locally by default and no longer exposes a well-known admin credential on all interfaces.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and UnboundIdContainer is used with an LDAP listener that is reachable from the attacker.

Background info

spring-security-ldap is vulnerable to Use of Hard-coded Credentials in versions 5.7.0 - 7.0.6 and 7.1.0 - 7.1.0.

How to fix this

Upgrade the org.springframework.security:spring-security-ldap library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform