Authorization Bypass Through User-Controlled Key Affecting org.springframework.data:spring-data-rest-core package, versions [,5.0.7)[5.1.0,5.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th 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 Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKDATA-19267461
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

NewCVE-2026-47849  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade org.springframework.data:spring-data-rest-core to version 5.0.7, 5.1.1 or higher.

Overview

org.springframework.data:spring-data-rest-core is a Spring Data REST.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the PATCH process. An attacker can overwrite identifier and version properties by sending crafted RFC 6902 JSON Patch requests, potentially bypassing optimistic-locking protections and causing unauthorized modification or replacement of records belonging to other users. This is only exploitable if the entity type declares an identifier or version property that is visible to Jackson's deserialization model (i.e., the property has a public setter and is not explicitly excluded via @JsonIgnore).

CVSS Base Scores

version 4.0
version 3.1