GitHub Advisoryadvisory · Maven
GHSA-j388-8rm5-p97f Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests
HIGH
Official page ↗
- Aliases
- CVE-2026-41729
- Ecosystem
- Maven
- Packages
- org.springframework.data:spring-data-rest-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-917
- Reviewed
- 2026-08-12
Affected packages
• Maven org.springframework.data:spring-data-rest-core: >= 5.0.0, < 5.0.6 → fixed in 5.0.6
• Maven org.springframework.data:spring-data-rest-core: >= 4.5.0, < 4.5.12 → fixed in 4.5.12
• Maven org.springframework.data:spring-data-rest-core: >= 4.4.0, <= 4.4.14 (no fix yet)
• Maven org.springframework.data:spring-data-rest-core: >= 4.3.0, <= 4.3.16 (no fix yet)
• Maven org.springframework.data:spring-data-rest-core: <= 3.7.19 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-41729 Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch… vulnerability
Weakness · CWE (1)
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41729 advisory
- https://github.com/spring-projects/spring-data-rest package
- https://github.com/spring-projects/spring-data-rest/releases/tag/4.5.12 web
- https://github.com/spring-projects/spring-data-rest/releases/tag/5.0.6 web
- https://spring.io/security/cve-2026-41729 web