Skip to main content

Spring Data KeyValue CVE-2026-41719

| EUVDEUVD-2026-35901 MEDIUM
Improper Neutralization of Special Elements used in an Expression Language Statement (CWE-917)
2026-06-10 security@vmware.com GHSA-xg2j-3hj6-pc24
6.4
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to target application
  2. Delivery
    Identify API endpoint accepting user-controlled sort parameter
  3. Exploit
    Craft Sort value containing malicious SpEL expression
  4. Execution
    Submit HTTP request to vulnerable repository query method
  5. Persist
    SpelPropertyComparator evaluates injected SpEL expression
  6. Impact
    Exfiltrate sensitive data or trigger unintended object graph access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Expression language sanitization
Exploitation Conditions

The vulnerability requires that three specific conditions hold simultaneously: (1) the application uses Spring Data KeyValue or Spring Data Redis in one of the affected version ranges; (2) at least one repository query method accepts a Sort parameter that is constructed from user-controlled input without sanitization or allowlisting; and (3) that query path delegates comparison to SpelPropertyComparator. CVSS PR:L confirms a valid authenticated user session is required - unauthenticated exploitation is not indicated. CVSS AC:H confirms this is not exploitable against default or arbitrary Spring Data configurations - the application must specifically implement the vulnerable pattern of routing raw user input into Sort. Exploitation is further limited to the scope of the application's JVM and Spring context (S:U, unchanged scope). Applications that validate or allowlist sort fields before constructing Sort objects, or that do not expose sort parameters to end users, are not vulnerable regardless of framework version.

Impact

The CVSS base score of 6.4 (Medium) is shaped significantly by AC:H (High Attack Complexity) and PR:L (Low Privilege Required), both of which suppress what would otherwise be a critical-tier finding. AC:H here reflects a meaningful prerequisite: the vulnerability only manifests when application code explicitly routes user-controlled input into Sort parameters without sanitization - this is an application-level design decision, not a default behavior of the framework. PR:L confirms that at minimum a valid authenticated session is required; unauthenticated exploitation is not supported by the available CVSS data. The C:H rating signals that successful exploitation could expose sensitive data or enable deeper object graph traversal. No EPSS score was provided in the source data, preventing quantitative exploitation probability assessment. No KEV listing exists, and no public exploit or POC is identified at time of analysis, suggesting this has not yet seen mass exploitation. Despite the moderate CVSS score, the breadth of affected versions (eight release lines spanning 2.7 through 4.0) and the common practice of exposing sort parameters via REST APIs elevate the real-world priority for applications in scope.

Exploit ScenarioDerived

An attacker with a valid low-privilege account submits a crafted HTTP request to an application endpoint (e.g., a paginated search or list API) where the sort query parameter is deserialized into a Spring Data Sort object and passed without validation to a KeyValue or Redis repository query method. The Sort value contains an injected SpEL expression such as a method invocation against a sensitive Spring bean or a file-system read; SpelPropertyComparator evaluates this expression during comparison, returning sensitive data in the response or triggering a side effect. No POC code has been publicly identified, but the injection pattern is well-understood in the Java expression language injection literature.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 10, 2026

SpEL (Spring Expression Language) injection in Spring Data KeyValue and Spring Data Redis allows a network-accessible, low-privileged attacker to execute arbitrary SpEL expressions when applications pass unsanitized user-controlled Sort parameters directly to repository query methods delegating to SpelPropertyComparator. Affected versions span eight major release lines from 2.7.x through 4.0.x, making the exposure surface broad across Spring-based Java ecosystems. No public exploit identified at time of analysis and no CISA KEV listing, but the high confidentiality impact rating and network attack vector warrant prompt patching for any application that surfaces Sort query parameters to end users.

RemediationAI

Upgrade to a fixed version of Spring Data KeyValue or Spring Data Redis as documented in the vendor advisory at https://spring.io/security/cve-2026-41719. Exact patched version numbers are not explicitly stated in the provided data - consult the advisory directly to identify the minimum safe version for your release line (e.g., the next patch release beyond each affected band). As an immediate compensating control, audit all repository query methods that accept Sort parameters and ensure no Sort object is constructed from raw, unsanitized user input; instead, restrict Sort to a strict allowlist of known property names validated before constructing the Sort object. This eliminates the injection vector regardless of framework version and is a sound long-term practice even after patching. Note that disabling SpEL globally in the Spring context is not a supported or safe workaround as it would break legitimate framework functionality. Dependency scanning tools (e.g., OWASP Dependency-Check, Dependabot) should be configured to flag the affected version ranges.

Affected VersionsENISA

Spring Data Redis 3.4.0 <3.4.15
Spring Data KeyValue 3.2.0 <3.2.16
Spring Data Redis 3.1.0 <3.1.15
Spring Data KeyValue 3.0.0 <3.0.16
Spring Data Redis 3.0.0 <3.0.16
Spring Data KeyValue 2.7.0 <2.7.20
Spring Data KeyValue 3.5.0 <3.5.12
Spring Data Redis 2.7.0 <2.7.20
Spring Data KeyValue 3.4.0 <3.4.15
Spring Data Redis 3.3.0 <3.3.17
Spring Data Redis 3.2.0 <3.2.16
Spring Data Redis 4.0.0 <4.0.6
Spring Data Redis 3.5.0 <3.5.12
Spring Data KeyValue 4.0.0 <4.0.6
Spring Data KeyValue 3.3.0 <3.3.17
Spring Data KeyValue 3.1.0 <3.1.15

Affected Packages

maven org.springframework.data:spring-data-keyvalue fix: 3.5.12, 4.0.6
euvd spring_data_keyvalue fix: 2.7.20, 3.0.16, 3.1.15, 3.2.16, 3.3.17, 3.4.15, 3.5.12, 4.0.6
euvd spring_data_redis fix: 2.7.20, 3.0.16, 3.1.15, 3.2.16, 3.3.17, 3.4.15, 3.5.12, 4.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-917 (Improper Neutralization of Special Elements in an Expression Language Statement) describes the root cause: SpEL is a powerful runtime expression language built into the Spring Framework that can traverse and manipulate the JVM object graph, invoke methods, and access system properties. Spring Data KeyValue uses SpelPropertyComparator to evaluate property-path expressions when sorting in-memory key-value query results. If a caller constructs a Sort object directly from unsanitized user input and passes it to a repository method backed by SpelPropertyComparator, that user-supplied string reaches the SpEL evaluator without sanitization. This is analogous to OGNL or EL injection patterns well-documented in Java frameworks. Spring Data Redis inherits this behavior because it is built on the Spring Data KeyValue infrastructure. The CVSS vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L indicates network delivery, no user interaction beyond the attacker's own authenticated session, and high confidentiality impact with partial integrity and availability loss - consistent with the read/execute capability that SpEL injection can provide.

Know when Spring Data Keyvalue 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 6.4 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
Red Hat 6.4 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

A SpEL Injection vulnerability exists in the Spring Data KeyValue if unsanitized user input is passed as Sort into a repository query method that delegates evaluation to the SpelPropertyComparator.

Affected versions: Spring Data KeyValue / Spring Data Redis 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.7.0 through 2.7.19.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Vendor StatusVendor

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