Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-123886
VULNERABILITY

CVE-2026-123886

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Nov 23, 2026 11:16
Modified
Nov 24, 2026 15:17
Last observed
Nov 24, 2026 11:00

CWE

CWE-94

References