Skip to main content
← All vulnerabilities
CVE-2026-41729GHSA-J388-8RM5-P97F

Spring Data REST SpEL Injection via Map Key in JSON Patch

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.20, 4.3.17, 4.4.15, 4.5.12, 5.0.6
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Spring Spring Data REST

    From 3.7.0 · fixed in 3.7.20; From 4.3.0 · fixed in 4.3.17; From 4.4.0 · fixed in 4.4.15; From 4.5.0 · fixed in 4.5.12; From 5.0.0 · fixed in 5.0.6

  • org.springframework.data:spring-data-rest-coreMaven

    From 5.0.0 · fixed in 5.0.6

  • org.springframework.data:spring-data-rest-coreMaven

    From 4.5.0 · fixed in 4.5.12

  • org.springframework.data:spring-data-rest-coreMaven

    From 4.4.0 · through 4.4.14

  • org.springframework.data:spring-data-rest-coreMaven

    From 4.3.0 · through 4.3.16

  • org.springframework.data:spring-data-rest-coreMaven

    through 3.7.19

References 2

spring.io

GitHub · daehyuh/CVE-2026-41729