Severity: High (CVSS 3.1 8.8) · Exploitation: Public exploit available, no confirmed attacks · Fix available: Yes
CVE-2026-123886 is a SpEL (Spring Expression Language) expression injection vulnerability in Spring Data Elasticsearch. The framework substitutes positional placeholders in string-based @Query repository methods with caller-supplied arguments before evaluating SpEL expressions, meaning any argument containing a SpEL expression is evaluated even when the declared query does not explicitly use SpEL. An authenticated remote attacker with low-privilege access who can influence those arguments can execute arbitrary code within the application and exhaust application memory through an unbounded expression cache. VMware (Spring) disclosed this vulnerability on 23 November 2026, and fixed versions are available.
The root cause is an ordering problem in how Spring Data Elasticsearch processes @Query-annotated repository methods that use positional placeholders (for example, ?0, ?1). Method arguments are injected into the query string before SpEL evaluation occurs, so a crafted argument that itself contains a SpEL expression is evaluated as executable code rather than treated as plain data. An attacker needs only a valid low-privilege application account and the ability to supply input that reaches a vulnerable repository query method; no special network position or elevated permissions are required beyond that.
The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects that exploitation is network-reachable, requires low complexity and low privileges, needs no user interaction, and results in complete compromise of confidentiality, integrity, and availability within the vulnerable component. The exact internal code path has not been made fully public by the vendor.
@Query repository method can execute arbitrary code with the privileges of the application process.A public exploit is available via cve.now, published on 23 November 2026, the same day as disclosure. No in-the-wild exploitation has been confirmed and this CVE does not appear on the CISA Known Exploited Vulnerabilities catalog at this time. The availability of public exploit code significantly shortens the window between disclosure and opportunistic attacks, making prompt patching a high priority.
pom.xml or build.gradle and rebuild).@Query-annotated repository methods that use positional placeholders and confirm whether any of those methods accept input derived from untrusted sources such as user-supplied API parameters.#{ or ${) before they reach repository query methods.mvn dependency:tree or gradle dependencies) and ensure no transitive dependency re-introduces an older version.Uptycs vulnerability management continuously scans hosts, containers, and cloud workloads for Spring Data Elasticsearch packages running affected versions, enabling security teams to identify and prioritize patching across their entire environment. Uptycs Threat Research continues to monitor this vulnerability and will update this bulletin if exploitation activity changes.