Description
Spring Data REST does not preserve the persisted version (@Version) property of an aggregate root when handling an HTTP PUT against an immutable target type.
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-26
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring Data REST does not preserve the @Version property of an aggregate root when an HTTP PUT request is made against an immutable target type. The accepted payload nonetheless updates the version field that is intended to be immutable. An attacker who can send a crafted PUT request can alter the version number of an entity, potentially overwriting recent changes or bypassing optimistic locking controls. The flaw exposes the integrity of persisted data but does not lead to code execution or denial of service. The CVSS score of 4.3 places it in a moderate severity band, indicating a tangible but not critical risk.

Affected Systems

The vulnerability impacts all versions of Spring Data REST from 3.7.20 up to and including 5.1.0, including the mid‑range releases 4.0.0‑4.4.15, 4.5.0‑4.5.12, 5.0.0‑5.0.6, and the 5.1.0 release. Systems running any of these versions and exposing PUT endpoints for immutable aggregate roots are potentially affected.

Risk and Exploitability

The vulnerability is exploitable via standard HTTP traffic to the REST endpoints that expose immutable aggregates. An attacker must be able to send a valid PUT request to the resource URL, which typically requires network reachability to the service and, depending on the application, may need authorization credentials. EPSS data is unavailable and the issue is not listed in the CISA KEV catalog, suggesting no widespread exploitation yet. Nonetheless, the moderate CVSS score and the ability to modify a critical concurrency control field make the risk significant for data integrity, especially in environments where optimistic locking is relied upon.

Generated by OpenCVE AI on August 27, 2026 at 01:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Data REST to the latest patched release beyond 5.1.0
  • Disable or restrict PUT endpoints for immutable aggregate roots until the patch is applied
  • Implement application‑level validation to reject changes to the @Version field on immutable aggregates

Generated by OpenCVE AI on August 27, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

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

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

Thu, 27 Aug 2026 01: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 00:30:00 +0000

Type Values Removed Values Added
Description Spring Data REST does not preserve the persisted version (@Version) property of an aggregate root when handling an HTTP PUT against an immutable target type. 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 the version property of immutable aggregates via PUT
References
Metrics cvssV3_1

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


Subscriptions

Spring Spring Data Rest
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-26T23:28:40.729Z

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

Link: CVE-2026-47850

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T01:17:31.997

Modified: 2026-08-27T01:17:31.997

Link: CVE-2026-47850

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T02:00:14Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password