Embedded Test LDAP Server Binds to All Network Interfaces with a Hardcoded Administrative Credential in Spring LDAP

CRITICAL | NOVEMBER 19, 2026 | CVE-2026-59367

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 Spring Products and Versions

Spring LDAP:

  • 4.1.0 - 4.1.2
  • 4.0.0 - 4.0.6
  • 3.3.0 - 3.3.9
  • 3.2.0 - 3.2.19
  • 2.4.6 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
4.1.3OSS
4.1.2.1Enterprise Support Only
4.0.7OSS
4.0.6.1Enterprise Support Only
3.3.10Enterprise Support Only
3.2.20Enterprise Support Only
2.4.7Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all