Skip to main content
VulnerabilityPublished

CVE-2026-59368: Spring LDAP · LdapQueryBuilder Silently Discards Existing Filter When Built From Another Query

Affects Spring LDAPSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium · fixed in 4.1.3 : update Spring LDAP when convenient.

Data as of 2 Dec 2026, 08:15 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.16.5
Patch
Available – fixed in 4.1.3, 4.1.2.1, 4.0.7 +3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring LDAPAffected
  • >=4.1.0 <4.1.3
Fixed in
  • 4.1.3
SpringSpring LDAPAffected
  • >=4.1.0 <4.1.2.1
Fixed in
  • 4.1.2.1
SpringSpring LDAPAffected
  • >=4.0.0 <4.0.7
Fixed in
  • 4.0.7
SpringSpring LDAPAffected
  • >=4.0.0 <4.0.6.1
Fixed in
  • 4.0.6.1
SpringSpring LDAPAffected
  • >=3.3.0 <3.3.10
Fixed in
  • 3.3.10
SpringSpring LDAPAffected
  • >=3.1.0 <3.2.20
Fixed in
  • 3.2.20

AI-suggested

A fix is available in Spring LDAP versions 4.1.3, 4.1.2.1, 4.0.7, 4.0.6.1, 3.3.10, and 3.2.20. Users should upgrade to one of these fixed versions to prevent the silent filter drop issue. No other mitigation or workaround is indicated by the vendor advisory.

Description

CVE-2026-59368 is a vulnerability in Spring LDAP's LdapQueryBuilder where an existing search filter can be silently discarded when a new filter is applied on a builder derived from another query. This causes LDAP searches to run with broader criteria than intended, potentially exposing directory entries beyond the expected scope. The issue occurs when the dropped filter acts as an authorization boundary, allowing authenticated users to read unauthorized entries. The flaw is fixed in Spring LDAP versions 4.1.3, 4.1.2.1, 4.0.7, 4.0.6.1, 3.3.10, and 3.2.20 by throwing an IllegalStateException instead of silently dropping the filter.

References

Community reviews

Loading reviews…