CVE-2026-123886: high-severity vulnerability in Spring Data Elasticsearch
Spring Data Elasticsearch SpEL Expression Injection through String-based Query Method Arguments
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.8epss 1.3%
from disclosure to weaponsame day
Published on NVDNov 23
1st PoCNov 23
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Spring · Spring Data Elasticsearchpublic PoCs found — 1
githubgithub.com/googlesky/CVE-2026-123886★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.