Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach repository-backed query endpoint
-
DeliverySubmit argument containing SpEL payload
-
ExploitPlaceholder substitution injects expression into query
-
ExecutionSpEL engine evaluates attacker expression
-
ImpactExecute arbitrary code or exhaust expression cache
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires that the application declare a repository query method using a string-based @Query with positional placeholders (e.g. ?0) AND pass attacker-controllable, untrusted input as the corresponding argument; the declared query does NOT need to use SpEL itself, because substitution occurs before SpEL evaluation. Limiting factors: applications that do not use string-based @Query methods with positional placeholders, or that never route untrusted input into such arguments, are not affected; the input CVSS lists PR:L, but the actual privilege/authentication needed is determined by how the hosting application exposes the affected method, so reachability is application-specific rather than universal against a default configuration. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one, but its real-world exposure is conditional on application code patterns. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) indicates a network-reachable, low-complexity flaw yielding full confidentiality, integrity and availability impact - consistent with the described SpEL-injection RCE plus memory exhaustion via the unbounded expression cache. The vmware/Spring vendor advisory confirms the mechanism: positional placeholders in string-based @Query methods are substituted before SpEL evaluation, so an argument containing a SpEL expression is evaluated even when the query itself declares none. No EPSS score, SSVC exploitation/automatable values, KEV listing, or PoC reference was supplied, so exploitation signals are absent rather than negative - the vuln.today Decision label is 'this_week', indicating prompt but not emergency remediation. The one conflict worth flagging: the CVSS assigns PR:L (authenticated), yet the description frames exploitation purely around an application passing untrusted input to an affected repository method, which is an application-exposure condition rather than a library-level authentication requirement - the effective privilege needed depends entirely on how the hosting application exposes that query method, so treat PR:L as indicative only and verify against the specific deployment. |
| Exploit ScenarioDerived | An application exposes an endpoint backed by a Spring Data Elasticsearch repository method annotated with a string-based @Query using positional placeholders (e.g. ?0), and forwards user-supplied input straight into that argument. A remote attacker submits a crafted value containing a SpEL expression (for example a T(...) type reference invoking runtime methods), which is substituted into the query string and then evaluated by the SpEL engine, achieving arbitrary code execution; repeated distinct payloads can additionally exhaust memory via the unbounded expression cache. No public exploit code was identified in the provided sources at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Arbitrary code execution in Spring Data Elasticsearch can occur when an application declares a string-based @Query repository method with positional placeholders and passes attacker-controlled input as the corresponding argument, because substitution happens before SpEL evaluation and the declared query need not itself use SpEL. The same path can exhaust memory through the unbounded expression cache under repeated requests. The CVSS vector is network-reachable with low privileges (PR:L), but exploitation is conditional on the affected query pattern and on how the hosting application exposes and authorizes that method; the provided data indicates no CISA KEV entry and no public exploit identified at time of analysis.
RemediationAI
The provided data does not include an exact fixed version or patch reference, so check the vendor advisory at https://spring.io/security/cve-2026-123886 for the vendor-released remediation and apply the specified Spring Data Elasticsearch upgrade when available. Until then, audit repository interfaces for string-based @Query methods that use positional placeholders and remove or refactor those methods so untrusted input cannot be substituted into the query before SpEL evaluation; restricting access to endpoints that invoke such methods reduces exposure but does not remove the underlying evaluation path. Monitor memory usage for the unbounded expression cache if affected methods remain reachable, and use the HeroDevs advisory at https://www.herodevs.com/vulnerability-directory/cve-2026-123886 for additional tracking information.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Data Elasticsearch is a Spring Data module that maps repository interfaces to Elasticsearch queries. In string-based @Query methods, positional placeholders such as ?0 are replaced with method arguments, and the resulting query string is subsequently processed by Spring's SpEL evaluator. The flaw is an ordering issue: argument substitution occurs before SpEL expression evaluation, so an argument containing a SpEL expression is evaluated even when the repository's declared @Query does not intentionally use SpEL. The supplied CPE cpe:2.3:a:spring:spring_data_elasticsearch:*:*:*:*:*:*:*:* identifies Spring Data Elasticsearch with a wildcard version, and no CWE identifier is provided; the impact class is code injection leading to arbitrary code execution, with a secondary denial-of-service vector via the unbounded expression cache.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
A single crafted network-delivered argument triggers SpEL evaluation (AV:N/AC:L), typically reached through an application endpoint requiring some access (PR:L), giving code execution (C:H/I:H) and cache-driven memory exhaustion (A:H).
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
Spring Data Elasticsearch contains a high-severity vulnerability (CVE-2026-123886, CVSS 8.8) that allows authenticated users to execute arbitrary code and exhaust memory under specific conditions, potentially compromising application servers and sensitive data. Leadership should prioritize remediation because unpatched systems remain exposed to insider threats or users with low privileges, and a successful attack could lead to full system compromise, service outages, and data breaches.
No vendor-released patch identified at time of analysis; implement input validation and sanitization, restrict network access to affected endpoints, enforce least privilege, monitor for anomalous memory usage, and consider migrating to safer query patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-132995
GHSA-c426-6j2c-pm64
NVD
CVE.org
Exploit-DB