SpEL expression injection in Spring Data Elasticsearch query arguments
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
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
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
- 2026-11-23 Threatist record created from CVE-2026-123886
- 2026-11-23 Alias added: GHSA-c426-6j2c-pm64
- 2026-11-24 Weakness changed · CISA ADP
- 2026-11-24 CISA SSVC decision points changed
References
More VMware vulnerabilities
- 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
Sources
- CVE-2026-123886 · CVE Program
- CVE-2026-123886 · NVD
- FIRST EPSS
- GHSA-c426-6j2c-pm64 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences