CVE-2026-59367
Embedded Test LDAP Server Binds to All Network Interfaces with a Hardcoded Administrative Credential in Spring LDAP
Description
The embedded LDAP server provided by the spring-ldap-test artifact listens on every network interface of the host and accepts a fixed, publicly known administrative credential.
EmbeddedLdapServer is intended as a test fixture for the machine that runs it. However, its listener is not restricted to the loopback interface, and its administrative bind credential is built into the library rather than supplied by the application. Anyone who can reach the listening port can therefore authenticate as the directory administrator.
Preconditions:
The application or test suite starts an EmbeddedLdapServer (directly or through Spring LDAP's test support) The host running it is reachable over the network by an untrusted party, for example a shared CI agent, a shared development network, or a container with a published port
An attacker who can reach the port can read, add, modify, and delete entries in the embedded directory, and can disrupt tests that depend on its contents.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ldap » spring-ldap-test | <= 2.4.6>= 3.2.0, <= 3.2.19>= 3.3.0, <= 3.3.9>= 4.0.0, < 4.0.7>= 4.1.0, < 4.1.3 | 4.0.7, 4.1.3 |
Blast radius
Dependency propagation for this vulnerability will be available after the next index build.
