Intel

AIKIDO-2026-903194

spring-data-rest-core is vulnerable to Improper Access Control

Improper Access ControlCVE-2026-47849 Published Aug 21, 2026

71

High Risk

This Affects:

JAVAspring-data-rest-core
0.0.1 - 5.0.6
Fixed in 5.0.7
5.1.0 - 5.1.0
Fixed in 5.1.1
Are you affected? Scan for Free

TL;DR

spring-data-rest-core does not block mutation of @Id and @Version properties on RFC 6902 JSON Patch requests. PUT and merge-patch skip those properties, but JSON Patch does not. An authenticated client with PATCH access can overwrite the identifier or version, defeating optimistic locking or overwriting another principal's record. The patch applies the same identifier and version guards to JSON Patch.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and a Spring Data REST repository exposes @Id or @Version properties to Jackson and accepts JSON Patch.

Background info

spring-data-rest-core is vulnerable to Improper Access Control in versions 0.0.1 - 5.0.6 and 5.1.0 - 5.1.0.

How to fix this

Upgrade the org.springframework.data:spring-data-rest-core library to the patch version.