HIGH 7.1

CVE-2026-47849

Spring Data REST allows mutation of identifier and version properties via JSON Patch

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Spring Data REST does not guard identifier (@Id) and version (@Version) properties against mutation via RFC 6902 JSON Patch (application/json-patch+json) requests. Spring Data REST 5.1.0 Spring Data REST 5.0.0 - 5.0.6 Spring Data REST 4.5.0 - 4.5.12 Spring Data REST 4.0.0 - 4.4.15 Spring Data REST 3.7.20 and earlier

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-rest-corepreliminary
<= 3.7.20>= 4.0.0, <= 4.4.15>= 4.5.0, < 4.5.13>= 4.5.0, <= 4.5.12>= 5.0.0, <= 5.0.6>= 5.1.0, < 5.1.0.1>= 5.1.0, <= 5.1.0
4.5.13, 5.1.0.1

Blast radius

1affected artifacts
345affected versions
684dependent artifacts (est.)
38,900dependent versions

62% of the dependent artifacts (429) still pull an affected version in their latest release.

DepthDependent versions
Direct
484
2 hops
1,757
3 hops
11,547
4 hops
21,750
5 hops
2,914
6 hops
448

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.