CVE-2026-59368
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spring | spring_ldap | {"startIncluding":"4.1.0","endExcluding":"4.1.2.1"} | 4.1.2.1 |
| spring | spring_ldap | {"startIncluding":"4.0.0","endExcluding":"4.0.6.1"} | 4.0.6.1 |
| spring | spring_ldap | {"startIncluding":"3.3.0","endExcluding":"3.3.10"} | 3.3.10 |
| spring | spring_ldap | {"startIncluding":"3.1.0","endExcluding":"3.2.20"} | 3.2.20 |
| spring | spring_ldap | {"startIncluding":"4.1.0","endExcluding":"4.1.3"} | 4.1.3 |
| spring | spring_ldap | {"startIncluding":"4.0.0","endExcluding":"4.0.7"} | 4.0.7 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.