CVE-2026-59368Spring LDAP Incorrect Authorization
Spring
Vulnerability Summary
LdapQueryBuilder Silently Discards Existing Filter When Built From Another Query in Spring LDAP. 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 v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Spring LDAP 4.1.0 through 4.1.2
- Spring LDAP 4.0.0 through 4.0.6
- Spring LDAP 3.3.0 through 3.3.9
- Spring LDAP through 3.2.19
- Spring LDAP 4.1.3 (open source)
- Spring LDAP 4.0.7 (open source)
- Spring LDAP 4.1.2.1 (commercial support only)
- Spring LDAP 4.0.6.1 (commercial support only)
- Spring LDAP 3.3.10 (commercial support only)
- Spring LDAP 3.2.20 (commercial support only)
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Spring LDAP and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring LDAP CVEsYou are reading CVE-2026-59368. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore Spring LDAP CVEs
External References
- Vendor Advisoryhttps://spring.io/security/cve-2026-59368
Data last checked: Nov 20, 2026 05:01 UTC