Vulnerability · Published Jun 9, 2026 · Assigned by vmware

CVE-2026-41719Spring Data KeyValue - SpEL Injection vulnerability in SpelPropertyComparator

Medium 6.4

In plain English

A medium-severity expression language injection in Spring Data KeyValue from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.2%top 89.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.data:spring-data-keyvalue4.0.6GHSA-xg2j-3hj6-pc24
Mavenorg.springframework.data:spring-data-keyvalue3.5.12GHSA-xg2j-3hj6-pc24
Mavenorg.springframework.data:spring-data-keyvalueno fix listedGHSA-xg2j-3hj6-pc24
Mavenorg.springframework.data:spring-data-keyvalueno fix listedGHSA-xg2j-3hj6-pc24
Mavenorg.springframework.data:spring-data-keyvalueno fix listedGHSA-xg2j-3hj6-pc24

Affected products (as reported)

VendorProductVersions
Spring Spring Data KeyValue 4.0.0 – before 4.0.5.13.5.0 – before 3.5.11.13.4.0 – before 3.4.153.3.0 – before 3.3.173.2.0 – before 3.2.163.1.0 – before 3.1.153.0.0 – before 3.0.162.7.0 – before 2.7.20
Spring Spring Data Redis 4.0.0 – before 4.0.5.13.5.0 – before 3.5.11.13.4.0 – before 3.4.153.3.0 – before 3.3.173.2.0 – before 3.2.163.1.0 – before 3.1.153.0.0 – before 3.0.162.7.0 – before 2.7.20

Weakness: CWE-917 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L

References