CVE-2026-41729
Published:June 09, 2026
Updated:June 11, 2026
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 Packages
https://github.com/spring-projects/spring-data-rest.git (GITHUB):
Affected version(s) >=5.0.0 <5.0.6Fix Suggestion:
Update to version 5.0.6https://github.com/spring-projects/spring-data-rest.git (GITHUB):
Affected version(s) >=4.5.0 <4.5.12Fix Suggestion:
Update to version 4.5.12org.springframework.data:spring-data-rest-webmvc (JAVA):
Affected version(s) >=4.5.0 <4.5.12Fix Suggestion:
Update to version 4.5.12org.springframework.data:spring-data-rest-webmvc (JAVA):
Affected version(s) >=5.0.0 <5.0.6Fix Suggestion:
Update to version 5.0.6Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
EPSS
Base Score:
0.03