CVE-2026-41729

HIGH

Spring Data REST SpEL Injection via Map Key in JSON Patch

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-41729. PoCs published by daehyuh.

AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-41729, demonstrating a Spring Data REST JSON Patch vulnerability that bypasses @JsonIgnore annotations via crafted map keys. The test case shows how an attacker can modify hidden fields by manipulating the path in a JSON Patch request.

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.

Exploits (1)

github WORKING POC
by daehyuh · javapoc
https://github.com/daehyuh/CVE-2026-41729

This repository contains a functional exploit PoC for CVE-2026-41729, demonstrating a Spring Data REST JSON Patch vulnerability that bypasses @JsonIgnore annotations via crafted map keys. The test case shows how an attacker can modify hidden fields by manipulating the path in a JSON Patch request.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: Spring Data REST (Spring Boot 3.5.14)
No auth needed
Prerequisites: Spring Data REST application with exposed repositories · JSON Patch endpoint enabled
devstral-2 · analyzed Jun 12, 2026 Full analysis →

References (1)

Core 1

Scores

CVSS v3 8.1
EPSS 0.0028
EPSS Percentile 19.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-917
Status published
Products (5)
Spring/Spring Data REST 3.7.0 - 3.7.20
Spring/Spring Data REST 4.3.0 - 4.3.17
Spring/Spring Data REST 4.4.0 - 4.4.15
Spring/Spring Data REST 4.5.0 - 4.5.12
Spring/Spring Data REST 5.0.0 - 5.0.6
Published Jun 10, 2026
Tracked Since Jun 10, 2026