Intel

AIKIDO-2026-288860

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

CVE-2026-59270Published Aug 21, 2026
August 21, 2026

94

CVE Score

Critical

Use of Hard-coded Credentials

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.

How do I fix this?

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

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.

Versions

5.7.0 - 7.0.6

Fixed in 7.0.7

7.1.0 - 7.1.0

Fixed in 7.1.1

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea