## cve-2026-59368 - MEDIUM - LdapQueryBuilder Silently Discards Existing Filter When Built From Another Query in Spring LDAP

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59368
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59368)
- パーマリンク: https://vulnpulse.app/items/spring-security-80f09bd99c7a

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…