CVE-2026-41719
Spring Data KeyValue: Remote code execution via SpEL Injection in Sort-based repository queries
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.data » spring-data-keyvalue | <= 2.7.19>= 3.0.0, <= 3.3.16>= 3.4.0, <= 3.4.14>= 3.5.0, < 3.5.12>= 4.0.0, < 4.0.6 | 3.5.12, 4.0.6 |
Blast radius
82% of the dependent artifacts (5,644) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 487 |
| 2 hops | 12,748 |
| 3 hops | 32,437 |
| 4 hops | 38,861 |
| 5 hops | 17,163 |
| 6 hops | 8,553 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-redis3,154 usages
- org.springframework.data » spring-data-redis1,414 usages
- org.redisson » redisson-spring-boot-starter574 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.springframework.session » spring-session-data-redis245 usages
- org.springframework.boot » spring-boot-starter-data-redis-reactive178 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.springframework.integration » spring-integration-redis99 usages
- com.github.binarywang » weixin-java-pay92 usages
- com.github.binarywang » weixin-java-mp90 usages
- com.github.binarywang » weixin-java-miniapp88 usages
- com.github.liaomengge » base-common-utils88 usages
- org.apache.camel » camel-catalog87 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-41719
- Packagehttps://github.com/spring-projects/spring-data-keyvalue
- Webhttps://github.com/spring-projects/spring-data-keyvalue/releases/tag/3.5.12
- Webhttps://github.com/spring-projects/spring-data-keyvalue/releases/tag/4.0.6
- Webhttps://spring.io/security/cve-2026-41719
