Spring Data REST
Spring Data REST SpEL Injection via Map Key in JSON Patch
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 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
Fixed in 3.7.20, 4.3.17, 4.4.15, 4.5.12, 5.0.6
Mitigation
Upgrade Spring Data REST to 3.7.20 or 4.3.17 or 4.4.15 or 4.5.12 or 5.0.6 or later.
Timeline
Days relative to CVE publicationFirst public PoC 27 days before publication; not in CISA KEV. First PoC: daehyuh/CVE-2026-41729 (created 13 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| daehyuh/CVE-2026-41729 | 13 May 2026 −27 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /dev/null
- Seen in
- 1 repo: daehyuh/CVE-2026-41729
- Evidence
- daehyuh/CVE-2026-41729/mvnw:237
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/dev/null(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-41729 Spring Spring Data REST exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dev/null"; reference:url,poc.griffinguard.io/cve/CVE-2026-41729; classtype:web-application-attack; sid:9706128; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Spring Spring Data REST exploit attempt (CVE-2026-41729)
id: gg-pocmon-cve-2026-41729-9706128
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41729. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-41729
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dev/null'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.41729