CVE-2026-59270: Unboundid Ldap Listener Wildcard Binding

InMemoryListenerConfig is configured without specifying a listen address, which binds the LDAP server to all network interfaces (0.0.0.0). Specify a loopback address using createLDAPConfig(listenerName, InetAddress.getLoopbackAddress(), listenPort, socketFactory) to prevent unintended network exposure.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-59270-unboundid-ldap-listener-wildcard-binding --engine opengrep

Description

InMemoryListenerConfig is configured without specifying a listen address, which binds the LDAP server to all network interfaces (0.0.0.0). Specify a loopback address using createLDAPConfig(listenerName, InetAddress.getLoopbackAddress(), listenPort, socketFactory) to prevent unintended network exposure.