Skip to main content

Spring Data REST CVE-2026-47849

| EUVDEUVD-2026-66837 HIGH
Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915)
2026-08-27 security@vmware.com GHSA-4xj4-jmcc-9rq7
7.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with low-privilege API credentials
  2. Delivery
    Identify Spring Data REST PATCH endpoint for target entity
  3. Exploit
    Craft RFC 6902 JSON Patch document targeting /id or /version path
  4. Install
    Send PATCH request with Content-Type: application/json-patch+json
  5. C2
    Spring Data REST writes mutated @Id or @Version to persistence layer
  6. Execute
    Corrupt entity ownership or defeat optimistic locking
  7. Impact
    Escalate access or overwrite concurrent data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V4 - API and Web Service Object attribute protection
Exploitation Conditions

Exploitation requires all of the following: the target application uses Spring Data REST (not a custom Spring MVC controller) and exposes HTTP PATCH endpoints; those endpoints accept the application/json-patch+json Content-Type (RFC 6902 mode, not RFC 7396 JSON Merge Patch); the attacker holds a valid authenticated session with at least low-privilege access (PR:L per vendor CVSS); and the targeted entities have @Id or @Version annotated fields, which is standard for all JPA entities. What limits exploitation: authentication is mandatory - unauthenticated attack paths do not exist per the CVSS vector; the attacker must know or enumerate valid entity resource URLs; and applications that disable Spring Data REST PATCH handling or restrict it to admin roles are not exploitable. Applications exposing Spring Data REST only via GET or POST, or those using Spring Data REST solely with MongoDB documents that lack @Version, face reduced impact.

Impact

The vendor-supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N, score 7.1) indicates a network-reachable, low-complexity attack requiring only low-privilege authentication with no user interaction, yielding high integrity impact and low confidentiality impact. The PR:L requirement is the primary mitigating factor - unauthenticated exploitation is not possible per the CVSS vector. Manipulation of @Id fields can cause data-layer collisions, enable record takeover by reassigning entity ownership, or bypass application-layer authorization checks tied to entity IDs. Manipulation of @Version fields defeats optimistic locking, enabling silent overwrites of concurrent edits. No EPSS score was provided in the input data; exploitation probability is unquantified. The vulnerability is not in the CISA KEV catalog and no POC has been identified, suggesting it has not yet seen opportunistic exploitation. Despite the 7.1 score, real-world risk is conditional on the application exposing Spring Data REST PATCH endpoints - applications using only GET/POST or custom controllers are unaffected.

Exploit ScenarioDerived

An authenticated low-privilege user - such as a registered application user with a valid session token - sends a PATCH request to a Spring Data REST endpoint (e.g., PATCH /api/orders/42 with Content-Type: application/json-patch+json) containing a JSON Patch document that replaces the entity's id field with the ID of another user's record, effectively reassigning ownership. The application's ID-based authorization checks, having originally validated access to order 42, do not re-evaluate post-patch, leaving the attacker in control of a record they should not own. No public POC has been identified, but the attack requires only basic knowledge of RFC 6902 JSON Patch syntax and a valid API session.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

Spring Data REST fails to protect entity identifier (@Id) and optimistic-locking version (@Version) fields from mutation through RFC 6902 JSON Patch (application/json-patch+json) PATCH requests, allowing authenticated low-privilege network attackers to overwrite primary keys and version counters on exposed JPA entities. Affected versions span the full 3.x lineage through 5.1.0, representing a broad swath of the Spring ecosystem. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Consult the Spring security advisory at https://spring.io/security/cve-2026-47849 for confirmed patched releases; based on the stated affected ranges, fixed versions are expected at 5.0.7+, 4.5.13+, 4.4.16+, and a post-5.1.0 release, but these numbers are inferred from the affected-version boundaries and not independently verified from the advisory. As an immediate compensating control without upgrading, teams can configure a servlet filter or Spring security rule to reject PATCH requests bearing Content-Type: application/json-patch+json - this fully blocks the attack surface but breaks any legitimate RFC 6902 clients. A more targeted workaround is to register a Spring Data REST @RepositoryEventHandler (beforeSave/beforeCreate) or a custom Validator that rejects any payload attempting to modify @Id or @Version fields, preserving JSON Patch support for other fields while protecting these annotated properties. Note that the filter-based approach has zero false negatives but may break existing integrations; the event-handler approach preserves functionality but requires careful implementation to avoid bypass.

Affected VersionsENISA

Spring Data REST 4.5.0 ≤4.5.12
Spring Data REST 0 ≤3.7.20
Spring Data REST 5.0.0 ≤5.0.6
Spring Data REST 4.0.0 ≤4.4.15
Spring Data REST 5.1.0

Affected Packages

euvd spring_data_rest no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Data REST is a Spring Framework module that automatically exposes Spring Data repository entities (typically JPA-backed) as hypermedia-driven REST endpoints. RFC 6902 JSON Patch allows clients to submit granular mutation operations (add, replace, remove, copy, move) against a resource. JPA entities annotate their primary key with @Id and their optimistic-locking counter with @Version; both fields are semantically immutable after entity creation. Spring Data REST's PATCH handler processes incoming JSON Patch documents without filtering these protected annotations, allowing operations such as {"op":"replace","path":"/id","value":999} to reach the persistence layer. The CWE classification was not assigned in the provided data, but the root cause aligns with improper authorization/access control on field-level mutations (closest to CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes). The reporter is security@vmware.com, reflecting Spring's VMware stewardship.

Know when Spring Data Rest gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
vuln.today AI 7.1 HIGH

Network PATCH endpoint requires authenticated session (PR:L); integrity is high due to @Id/@Version field mutation; no availability impact applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

Spring Data REST versions 3.x through 5.1.0 allow authenticated users to corrupt database records by modifying primary keys and optimistic-locking counters through API requests, creating data integrity and business logic risks. Any organization using these versions to expose JPA entities through REST endpoints faces potential unauthorized record tampering. No vendor patch is available, requiring immediate deployment of architectural controls to restrict mutation of these core entity fields.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Compensating controls: (1) restrict low-privilege user access to PATCH endpoints on REST resources exposing JPA entities with @Id or @Version fields; (2) configure API gateway or reverse proxy to reject requests with application/json-patch+json content type on entity endpoints; (3) implement server-side input validation to block modifications to @Id and @Version fields; (4) enable audit logging on all REST API PATCH requests and alert on suspicious modification attempts to these fields; (5) limit REST entity endpoint access to administrative users only as an interim measure pending patch availability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
High
widely used Spring ecosystem component in enterprise Java REST backends
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2018-1273 CRITICAL POC
9.8 Apr 11

Spring Data Commons, versions prior to 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property

CVE-2017-8046 CRITICAL POC
9.8 Jan 04

Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri

CVE-2018-1259 HIGH
7.5 May 11

Spring Data Commons, versions 1.13 prior to 1.13.12 and 2.0 prior to 2.0.7, used in combination with XMLBeam 1.4.14 or e

CVE-2026-41729 HIGH
8.1 Jun 10

Server-Side Expression Language (SpEL) injection in Spring Data REST allows authenticated remote attackers to execute ar

CVE-2018-1274 HIGH
7.5 Apr 18

Spring Data Commons, versions 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property path par

CVE-2026-41728 HIGH
7.5 Jun 10

Authorization bypass in Spring Data REST's JSON Patch handler allows remote unauthenticated attackers to modify protecte

CVE-2026-41837 MEDIUM
5.3 Jun 10

Spring Data REST's Querydsl integration exposes arbitrary persistent entity property paths as request-parameter filter k

CVE-2026-41730 MEDIUM
5.3 Jun 10

Spring Data REST leaks persistence-layer internals - including database schema details, Hibernate/JPA exception messages

CVE-2021-22047 MEDIUM
5.3 Oct 28

In Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions, HTTP resources implemented b

CVE-2026-47850 MEDIUM
4.3 Aug 26

Spring Data REST's HTTP PUT handler silently drops the persisted `@Version` field when writing immutable aggregate root

CVE-2022-31679 LOW
3.7 Sep 21

Applications that allow HTTP PATCH access to resources exposed by Spring Data REST in versions 3.6.0 - 3.5.5, 3.7.0 - 3.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy