CVE-2026-41729: Spring Data REST SpEL Injection via Map Key in JSON Patch
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-41729?
The severity of CVE-2026-41729 is rated as high with a score of 8.1.
How can I fix CVE-2026-41729?
To fix CVE-2026-41729, you should update your Spring Data REST version to the latest release that includes the security patch.
What type of injection is associated with CVE-2026-41729?
CVE-2026-41729 is associated with SpEL (Spring Expression Language) injection through map-typed properties in JSON Patch requests.
Who is affected by CVE-2026-41729?
Applications using Spring Data REST that expose map-typed properties in their APIs are affected by CVE-2026-41729.
What impact can CVE-2026-41729 have on my application?
CVE-2026-41729 can allow attackers to execute arbitrary code through SpEL expressions, leading to potential unauthorized access and data manipulation.