Skip to main content

Spring Data Elasticsearch CVE-2026-123886

| EUVDEUVD-2026-132995 HIGH
2026-11-23 vmware GHSA-c426-6j2c-pm64
8.8
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach repository-backed query endpoint
  2. Delivery
    Submit argument containing SpEL payload
  3. Exploit
    Placeholder substitution injects expression into query
  4. Execution
    SpEL engine evaluates attacker expression
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Data Elasticsearch 6.1.0 <6.1.3
Spring Data Elasticsearch 6.0.0 <6.0.9

Affected Packages

euvd spring_data_elasticsearch fix: 6.0.9, 6.1.3

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

Vendor (vmware) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 23, 2026 - 12:16 EUVD
CVE Published
Nov 23, 2026 - 10:12 cve.org
HIGH 8.8

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

Prevalence
Medium
popular Spring module, but only in Elasticsearch-backed Java/Spring applications
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy