CVE-2026-59368
Received Received - Intake

LDAP Search Filter Bypass in LdapQueryBuilder

Vulnerability report for CVE-2026-59368, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
vmware ldapquerybuilder *
spring ldap to 4.1.2 (inc)
spring ldap to 4.0.6 (inc)
spring ldap to 3.3.9 (inc)
spring ldap to 3.2.19 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the LdapQueryBuilder class in Spring LDAP where a search filter intended to restrict LDAP queries can be silently discarded. When a builder is created from an existing query and a new filter is specified, the new filter replaces the original one without warning. This can allow broader-than-intended LDAP searches, potentially exposing unauthorized directory entries if the dropped filter was enforcing an authorization boundary.

Detection Guidance

To detect this vulnerability, review applications using Spring LDAP versions 4.1.0-4.1.2, 4.0.0-4.0.6, 3.3.0-3.3.9, or 3.1.0-3.2.19. Check for code patterns where LdapQueryBuilder is created from an existing query followed by a new filter specification. Audit logs for IllegalStateException errors after applying the fix.

Impact Analysis

If the dropped filter was acting as an authorization boundary, an authenticated user could read directory entries outside the scope the application intended. This could lead to unauthorized access to sensitive data, such as directory entries restricted to a single tenant or organizational unit.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive directory entries, potentially violating data protection requirements under GDPR (e.g., unauthorized access to personal data) and HIPAA (e.g., unauthorized access to protected health information). If the dropped filter was enforcing an authorization boundary, attackers could read data outside intended scopes.

Mitigation Strategies

Upgrade Spring LDAP to fixed versions: 4.1.3 (OSS), 4.1.2.1 (Enterprise), 4.0.7 (OSS), 4.0.6.1 (Enterprise), 3.3.10 (Enterprise), or 3.2.20 (Enterprise). Replace LdapQueryBuilder.fromQuery with LdapQueryBuilder.withQuery to preserve filters. Ensure authorization boundaries in LDAP queries are enforced.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59368. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...