CVE-2026-123886Spring Data Elasticsearch
Spring
Vulnerability Summary
Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments. 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. Affected artifact: org.springframework.data:spring-data-elasticsearch.
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Spring Data Elasticsearch 6.1.0 through 6.1.2
- Spring Data Elasticsearch 6.0.0 through 6.0.8
- Spring Data Elasticsearch 6.1.3 (open source)
- Spring Data Elasticsearch 6.0.9 (open source)
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Spring Data Elasticsearch and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring Data Elasticsearch CVEsYou are reading CVE-2026-123886. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- Vendor Advisoryhttps://spring.io/security/cve-2026-123886
Data last checked: Nov 20, 2026 05:01 UTC