Vulnerability

CVE-2026-123886

highCVSS 3.1 8.8Published 23 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning