CVE-2026-47849

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

Published Aug 27, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

Spring Data REST processes RFC 6902 JSON Patch requests without protecting the @Id and @Version fields of entities. Because these fields are not constrained during patch processing, an attacker who can send a JSON Patch payload can change an entity’s primary key or its optimistic‑lock version. This flaw directly permits alteration of critical metadata that controls resource identity and concurrency, which can lead to data integrity loss, duplicated records, or potential privilege escalation if identifiers are used for access control. Based on the description, it is inferred that an attacker could exploit this lack of protection to rewrite the identity of an existing resource or bypass concurrency checks.

Affected Systems

Versions of Spring Data REST affected by CVE-2026-47849 include 5.1.0, 5.0.0 through 5.0.6, 4.5.0 through 4.5.12, 4.0.0 through 4.4.15, and 3.7.20 and earlier, all supplied by the Spring vendor.

Risk and Exploitability

The flaw carries a CVSS score of 7.1, placing it in the medium-high severity range. The EPSS score is < 1%, indicating a very low but non-zero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting no publicly documented exploits yet. The attack surface is exposed whenever a JSON Patch endpoint is publicly reachable; an attacker can craft a patch request that targets the identifier or version. Successful exploitation requires only network access to the REST API, and authentication requirements depend on the application’s own security configuration, as the flaw does not introduce new authentication bypass conditions. The likely attack vector is network-based delivery of a malicious JSON Patch payload to a vulnerable REST endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest non‑vulnerable Spring Data REST release that addresses CVE-2026-47849.
  • If an immediate upgrade is not feasible, configure the application to block or strip JSON Patch operations that modify @Id or @Version properties, or disable application/json-patch+json handling entirely on untrusted endpoints.
  • Review all exposed API endpoints for JSON Patch support and enforce strict permission checks and immutability constraints on identifier and version fields in application code.

Generated by OpenCVE AI on August 28, 2026 at 06:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Data Rest
CPEs cpe:2.3:a:vmware:spring_data_rest:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Data Rest
Type Values Removed Values Added
Weaknesses CWE-20
CWE-284
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-915
Type Values Removed Values Added
Weaknesses CWE-20
CWE-284
Type Values Removed Values Added
First Time appeared Spring
Spring spring Data Rest
Vendors & Products Spring
Spring spring Data Rest
Type Values Removed Values Added
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
Title Spring Data REST allows mutation of identifier and version properties via JSON Patch
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N'}

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 27, 2026, 1:04 PM
Reserved
May 20, 2026, 10:00 AM
Status
Analyzed
Published
Aug 27, 2026, 6:17 AM
Modified
Sep 2, 2026, 3:47 PM