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
Published: 2026-08-27
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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. EPSS data is not available, and 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.

Generated by OpenCVE AI on August 27, 2026 at 07:53 UTC.

Remediation

No vendor fix or workaround currently provided.

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 27, 2026 at 07:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 27 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-284

Thu, 27 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Data Rest
Vendors & Products Spring
Spring spring Data Rest

Thu, 27 Aug 2026 06:15:00 +0000

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'}


Subscriptions

Spring Spring Data Rest
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T05:06:23.970Z

Reserved: 2026-05-20T10:00:53.146Z

Link: CVE-2026-47849

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T06:17:16.653

Modified: 2026-08-27T06:17:16.653

Link: CVE-2026-47849

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T08:00:07Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-284

    Improper Access Control