Skip to content
RedCVE

CVE-2026-123886Spring Data Elasticsearch vulnerability

SpringPublished:

CVSS score

8.8

High

CVSS 3.1 from vmware.com

Exploit probability (EPSS)

No EPSS score yet.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Spring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string. As a result, an argument that contains a SpEL expression is evaluated as part of the query, even if the declared query does not use SpEL. An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders. In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.

Source: NVD · CNA: security@vmware.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Spring Data Elasticsearch and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Spring Data Elasticsearch to 6.0.9, 6.1.3 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Spring Spring Data Elasticsearch≥ 6.1.0, < 6.1.3 · ≥ 6.0.0, < 6.0.9

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-123886 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far.

What is the CVSS score of CVE-2026-123886?

CVE-2026-123886 has a CVSS 3.1 base score of 8.8 (high).

Which versions are affected?

Spring Spring Data Elasticsearch (≥ 6.1.0, < 6.1.3; ≥ 6.0.0, < 6.0.9)

Is there a patch for CVE-2026-123886?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.