๐Ÿ” CVE Alert

CVE-2026-123886

HIGH 8.8

Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments

CVSS Score
8.8
EPSS Score
0.8%
EPSS Percentile
57th

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.

Vendor spring
Product spring data elasticsearch
Ecosystems
Industries
TechnologyEnterprise
Published Nov 23, 2026
Last Updated Nov 24, 2026
Stay Ahead of the Next One

Get instant alerts for spring spring data elasticsearch

Be the first to know when new high vulnerabilities affecting spring spring data elasticsearch are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Spring / Spring Data Elasticsearch
6.1.0 < 6.1.3 6.0.0 < 6.0.9

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
spring.io: https://spring.io/security/cve-2026-123886