SpEL expression injection in Spring Data REST JSON Patch map-typed properties
CVE-2026-41729 is a high-severity expression injection vulnerability in Spring Data REST. When processing JSON Patch requests with Content-Type application/json-patch+json, Spring Data REST embeds a JSON Pointer path segment used as a Map key directly into a SpEL expression without sanitization or validation. If a persistent entity, or a reachable embedded type, exposes a Map-typed property, an attacker can craft a patch path whose map-key segment breaks out of the intended literal/indexer context and causes evaluation of attacker-controlled SpEL sub-expressions in the aggregate root context. Both the read patch path and write patch path are affected. Reported affected versions are 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, and 5.0.0 through 5.0.5; unsupported versions are also stated to be affected.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A SpEL expression injection vulnerability in Spring Data that can be exploited via map-typed properties during JSON Patch processing, potentially leading to remote code execution.
A SpEL expression injection vulnerability in Spring Data REST triggered via JSON Patch requests involving map-typed properties.
A high-severity SpEL injection vulnerability in Spring Data REST where unsanitized JSON Patch map-key path segments are embedded into SpEL expressions, allowing arbitrary SpEL sub-expression evaluation in the context of the aggregate root.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.