Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting org.springframework.data:spring-data-rest-webmvc package, versions [,4.5.12)[5.0.0-M1,5.0.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKDATA-17320789
  • published12 Jun 2026
  • disclosed9 Jun 2026
  • creditUnknown

Introduced: 9 Jun 2026

NewCVE-2026-41728  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade org.springframework.data:spring-data-rest-webmvc to version 4.5.12, 5.0.6 or higher.

Overview

org.springframework.data:spring-data-rest-webmvc is a maven plugin for Spring Data REST - WebMVC.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes due to missing write-access enforcement in the JsonPointerMapping class in JsonPointerMapping.java. When a JSON Patch (application/json-patch+json) request is processed, the write-access filter is applied only to the final segment of a multi-segment JSON Pointer and not to intermediate path segments. An attacker can send a JSON Patch request whose path traverses a container property marked read-only at the Jackson level into a nested embeddable object, collection, or map element that carries no per-field restriction, modifying data the application intends to be immutable.

Note:

Only applications whose domain model includes an embeddable object, collection, or map property whose container is marked read-only at the Jackson level, while the inner element type carries no per-field restriction, are affected.

CVSS Base Scores

version 4.0
version 3.1