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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.data:spring-data-keyvalue | 4.0.6 | GHSA-xg2j-3hj6-pc24 |
| Maven | org.springframework.data:spring-data-keyvalue | 3.5.12 | GHSA-xg2j-3hj6-pc24 |
| Maven | org.springframework.data:spring-data-keyvalue | no fix listed | GHSA-xg2j-3hj6-pc24 |
| Maven | org.springframework.data:spring-data-keyvalue | no fix listed | GHSA-xg2j-3hj6-pc24 |
| Maven | org.springframework.data:spring-data-keyvalue | no fix listed | GHSA-xg2j-3hj6-pc24 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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