Read the docs

SpEL expression injection in Spring Data Elasticsearch query arguments

Priority MEDIUM 41CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

Spring Data Elasticsearch from 6.1.0 before 6.1.3 and from 6.0.0 before 6.0.9 is affected. Positional placeholders in string-based @Query methods are replaced with method arguments before SpEL expressions are evaluated, so an argument containing a SpEL expression runs even when the query does not use SpEL. An application is affected when it passes untrusted input to such a repository query method. A remote attacker can execute arbitrary code in the application (CWE-94), and repeated requests can exhaust memory through the unbounded expression cache.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00789 52nd percentileScored 2026-11-30
Fix Fixed Spring Data Elasticsearch (Spring): 6.1.3, 6.0.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring Data Elasticsearch6.1.0 to before 6.1.3; 6.0.0 to before 6.0.96.1.3, 6.0.9Patch availableCNA
  • Spring Data Elasticsearch VendorVMware Affected 6.1.0 to before 6.1.3; 6.0.0 to before 6.0.9 Fixed in 6.1.3, 6.0.9 Patch available CNA

Remediation

Upgrade Spring Data Elasticsearch to 6.1.3 or 6.0.9.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA Spring Data Elasticsearch (Spring) Fixed in 6.1.3, 6.0.9

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-123886
  2. 2026-11-23 Alias added: GHSA-c426-6j2c-pm64
  3. 2026-11-24 Weakness changed · CISA ADP
  4. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
See all 1214 →

Sources