Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2026-41729 EUVD-2026-35906GHSA-j388-8rm5-p97f

Spring Data REST SpEL Injection via Map Key in JSON Patch

Published Jun 9, 2026 · Updated Jun 11, 2026 · Assigned by vmware

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.

Affected products

VendorProductAffectedFixed
Spring Spring Data REST 3.7.0 – < 3.7.20, 4.3.0 – < 4.3.17, 4.4.0 – < 4.4.15, 4.5.0 – < 4.5.12, 5.0.0 – < 5.0.6 3.7.20

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

References