LdapQueryBuilder silently drops existing filter in Spring LDAP
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring LDAP versions from 3.1.0 before 3.2.20, from 3.3.0 before 3.3.10, from 4.0.0 before 4.0.6.1, from 4.0.0 before 4.0.7, from 4.1.0 before 4.1.2.1 and from 4.1.0 before 4.1.3 are affected. When LdapQueryBuilder is created from another query, the filter carried over from that query is not treated as established, so a later filter call silently replaces it instead of being rejected. When the dropped filter restricts access, an authenticated user with low privileges can read directory entries outside the intended scope.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring LDAP | 4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.6.1; 3.3.0 to before 3.3.10; 3.1.0 to before 3.2.20; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.7 | 4.1.2.1, 4.0.6.1, 3.3.10, 3.2.20, 4.1.3, 4.0.7 | Patch available | CNA |
- Spring LDAP VendorVMware Affected 4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.6.1; 3.3.0 to before 3.3.10; 3.1.0 to before 3.2.20; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.7 Fixed in 4.1.2.1, 4.0.6.1, 3.3.10, 3.2.20, 4.1.3, 4.0.7 Patch available CNA
Remediation
Spring LDAP fixed versions are 4.1.3, 4.1.2.1, 4.0.7, 4.0.6.1, 3.3.10 and 3.2.20. Upgrade to the fixed version on the same release line as the one in use.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring LDAP (Spring) Fixed in 4.1.2.1, 4.0.6.1, 3.3.10, 3.2.20, 4.1.3, 4.0.7
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59368
- 2026-12-02 Alias added: GHSA-g5v6-9698-pcfx
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59368 · CVE Program
- CVE-2026-59368 · NVD
- GHSA-g5v6-9698-pcfx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences