CVE-2026-41729
Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests
Description
Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch (application/json-patch+json) requests. When a persistent entity exposes a Map-typed property, the JSON Pointer path segment used as the map key is embedded directly into a SpEL expression without sanitization or validation.
Affected versions: Spring Data REST 3.7.0 through 3.7.19; 4.3.0 through 4.3.16; 4.4.0 through 4.4.14; 4.5.0 through 4.5.11; 5.0.0 through 5.0.5.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.data » spring-data-rest-core | <= 3.7.19>= 4.3.0, <= 4.3.16>= 4.4.0, <= 4.4.14>= 4.5.0, < 4.5.12>= 5.0.0, < 5.0.6 | 4.5.12, 5.0.6 |
Blast radius
60% of the dependent artifacts (397) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 427 |
| 2 hops | 1,373 |
| 3 hops | 10,905 |
| 4 hops | 21,370 |
| 5 hops | 2,882 |
| 6 hops | 446 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-rest350 usages
- com.netflix.spinnaker.kork » kork-core107 usages
- org.springframework.data » spring-data-rest-webmvc101 usages
- com.netflix.spinnaker.orca » orca-core63 usages
- com.netflix.spinnaker.clouddriver » clouddriver-core42 usages
- org.springdoc » springdoc-openapi-data-rest38 usages
- com.netflix.spinnaker.clouddriver » clouddriver-security28 usages
- be.vlaanderen.omgeving » omv-up-basis25 usages
- io.springfox » springfox-data-rest21 usages
- org.openwms » org.openwms.core.util21 usages
- org.entando.entando.plugins » entando-plugin-jacms20 usages
- com.netflix.spinnaker.orca » orca-retrofit18 usages
- org.entando.entando » entando-engine17 usages
- com.wizzdi » flexicore-boot-dynamic-invokers-service17 usages
- com.netflix.spinnaker.clouddriver » clouddriver-aws16 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-41729
- Packagehttps://github.com/spring-projects/spring-data-rest
- Webhttps://github.com/spring-projects/spring-data-rest/releases/tag/4.5.12
- Webhttps://github.com/spring-projects/spring-data-rest/releases/tag/5.0.6
- Webhttps://spring.io/security/cve-2026-41729
