CVE-2026-59368
Published:December 02, 2026
Updated:December 02, 2026
LdapQueryBuilder can lose a search filter that an application expects to be enforced, causing an LDAP search to run with broader criteria than intended.
When a builder is created from an existing query, the filter carried over from that query is not treated as established. A later call that specifies a filter then replaces the carried-over filter instead of being rejected, so the original criteria are dropped without any error. The fix turns this into an IllegalStateException .
Preconditions :
The application derives one LdapQueryBuilder from another query and then specifies a further filter on the derived builder
The dropped filter is what restricts the search, for example to a single tenant, organizational unit, or set of entries
When the dropped filter was acting as an authorization boundary, an authenticated user can read directory entries outside the scope the application intended.
Affected Packages
org.springframework.ldap:spring-ldap-core (JAVA):
Affected version(s) >=3.3.0 <3.3.8-spring-ldap-3.3.11Fix Suggestion:
Update to version 3.3.8-spring-ldap-3.3.11org.springframework.ldap:spring-ldap-core (JAVA):
Affected version(s) >=3.2.0 <3.2.16-spring-ldap-3.2.24Fix Suggestion:
Update to version 3.2.16-spring-ldap-3.2.24Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE