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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Data REST | 3.7.0 – < 3.7.20, 4.3.0 – < 4.3.17, 4.4.0 – < 4.4.15, 4.5.0 – < 4.5.12, 5.0.0 – < 5.0.6 | 3.7.20 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
daehyuh/CVE-2026-41729 ★ 0 · May 13, 2026
CVE-2026-41729 PoC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-rest-core | >= 5.0.0, < 5.0.6 | 5.0.6 | GHSA-j388-8rm5-p97f |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.5.0, < 4.5.12 | 4.5.12 | GHSA-j388-8rm5-p97f |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.4.0, <= 4.4.14 | — | GHSA-j388-8rm5-p97f |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.3.0, <= 4.3.16 | — | GHSA-j388-8rm5-p97f |
| Maven | org.springframework.data:spring-data-rest-core | <= 3.7.19 | — | GHSA-j388-8rm5-p97f |