---
id: CVE-2026-41729
title: >-
  Spring Data REST is vulnerable to SpEL expression injection through map-typed
  properties when processing JSON Patch (application/json-patch+json) requests
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
  segm…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-917
vendor: vmware
product: spring_data_rest
affected:
  - 'spring_data_rest >= 3.7.0, < 3.7.20'
  - 'spring_data_rest >= 4.3.0, < 4.3.17'
  - 'spring_data_rest >= 4.4.0, < 4.4.15'
  - 'spring_data_rest >= 4.5.0, < 4.5.11.1'
  - 'spring_data_rest >= 5.0.0, < 5.0.5.1'
patched:
  - spring_data_rest 5.0.5.1
published: '2026-06-10'
updated: '2026-07-17'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41729'
references:
  - url: 'https://spring.io/security/cve-2026-41729'
    label: security@vmware.com
tags:
  - nvd
  - exploit-available
epss: 0.00393
epssPercentile: 0.33348
ingestedAt: '2026-07-17T21:16:24.316Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/daehyuh/CVE-2026-41729'
  checkedAt: '2026-09-24T07:53:03.272Z'
exploitAvailable: true
---

## Overview

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

- `spring_data_rest >= 3.7.0, < 3.7.20`
- `spring_data_rest >= 4.3.0, < 4.3.17`
- `spring_data_rest >= 4.4.0, < 4.4.15`
- `spring_data_rest >= 4.5.0, < 4.5.11.1`
- `spring_data_rest >= 5.0.0, < 5.0.5.1`

## Remediation

Upgrade past the affected range:

- `spring_data_rest 5.0.5.1`
