Skip to main content
CVE-2026-59368VulnerabilityPublished

LdapQueryBuilder can lose a search filter that an application expects to be enforced, causing an LDAP search to run

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59368· Medium 6.5

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, 10:31 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

If you cannot patch yet, applications should avoid deriving LdapQueryBuilder instances from existing queries and then applying additional filters that might replace critical search criteria. Careful review of query-building logic to ensure filters are not unintentionally dropped is recommended.

Description

A vulnerability in LdapQueryBuilder causes it to lose an expected search filter when a builder is created from an existing query and a new filter is applied. This results in LDAP searches running with broader criteria than intended, potentially exposing directory entries outside the intended scope. The issue arises because the carried-over filter is replaced without error instead of being enforced or rejected. This can lead to unauthorized read access if the dropped filter was acting as an authorization boundary.

References

Community reviews

Loading reviews…