CVE-2026-123886
Received
Received - Intake
Spring Data Elasticsearch SpEL Injection via Untrusted Query Arguments
Vulnerability report for CVE-2026-123886, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-23
Last updated on: 2026-11-23
Assigner: VMware
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| Spring | Spring Data Elasticsearch | From 6.1.0 (inc) to 6.1.3 (exc) |
| Spring | Spring Data Elasticsearch | From 6.0.0 (inc) to 6.0.9 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |