CVE-2026-41729 — Vulnerability in spring-data-rest-core — CVE Details
Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.40%). Schedule for your next planned update.
Does your project use an affected org.springframework.data:spring-data-rest-core version?
Paste your pom.xml to check it for CVE-2026-41729 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published June 10, 2026 (169 days ago).
- Last revised August 12, 2026 — 64 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.5.12 for org.springframework.data:spring-data-rest-core -->
<!-- Update pom.xml dependency version to 5.0.6 for org.springframework.data:spring-data-rest-core -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.springframework.data:spring-data-rest-core Maven · Affected: 1.0.0.RELEASE, 2.0.0.RELEASE, 2.0.1.RELEASE, 2.0.2.RELEASE (+176 more) | Range-based data available |
| org.springframework.data:spring-data-rest-core Maven · Affected: 4.3.0, 4.3.1, 4.3.10, 4.3.11 (+10 more) | Range-based data available |
| org.springframework.data:spring-data-rest-core Maven · Affected: 4.4.0, 4.4.1, 4.4.10, 4.4.11 (+10 more) | Range-based data available |
| org.springframework.data:spring-data-rest-core Maven · Affected: 4.5.0, 4.5.1, 4.5.10, 4.5.11 (+8 more) | 4.5.12 |
| org.springframework.data:spring-data-rest-core Maven · Affected: 5.0.0, 5.0.1, 5.0.2, 5.0.3 (+2 more) | 5.0.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-917
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41729ADVISORY
- https://github.com/spring-projects/spring-data-restPACKAGE
- https://github.com/spring-projects/spring-data-rest/releases/tag/4.5.12WEB
- https://github.com/spring-projects/spring-data-rest/releases/tag/5.0.6WEB
- https://spring.io/security/cve-2026-41729WEB
Frequently Asked Questions
- What is CVE-2026-41729?
- Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-41729?
- CVE-2026-41729 affects org.springframework.data:spring-data-rest-core. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41729 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 25.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2017-8046CRITICAL
Remote code execution in PATCH requests in Spring Data REST
- CVE-2026-41717HIGH
Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API