Skip to main content
VulnerabilityPublished

CVE-2026-123886: Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments

Affects Spring Data ElasticsearchSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High : upgrade to 6.1.3 or 6.0.9 soon.

Data as of 23 Nov 2026, 10:25 UTC

CVSS 3.1 base score
8.8High
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.18.8
Patch
Available – fixed in 6.1.3, 6.0.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Nov 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 22 Nov 2026.

What to do

Upgrade Spring Data Elasticsearch to 6.1.3 or 6.0.9.

Affected software

ProductAffectedFixed in
SpringSpring Data ElasticsearchAffected
  • >=6.1.0 <6.1.3
Fixed in
  • 6.1.3
SpringSpring Data ElasticsearchAffected
  • >=6.0.0 <6.0.9
Fixed in
  • 6.0.9

AI-suggested

Upgrade affected Spring Data Elasticsearch versions to 6.1.3 or 6.0.9 or later, where this vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Description

CVE-2026-123886 is a vulnerability in Spring Data Elasticsearch where SpEL expressions in string-based @Query methods can be injected through method arguments. This occurs because positional placeholders are replaced with method arguments before evaluating SpEL expressions, allowing untrusted input containing SpEL expressions to be executed. This can lead to remote code execution and memory exhaustion via unbounded expression cache if exploited.

References

Community reviews

Loading reviews…