Remote code execution in PATCH requests in Spring Data REST
Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions prior to 3.0.1 (Kay SR1) can use specially crafted JSON data to run arbitrary Java code.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.data:spring-data-rest-core | < 2.6.9.RELEASE, >= 3.0.0, < 3.0.1.RELEASE | 2.6.9.RELEASE, 3.0.1.RELEASE |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-8046
- https://github.com/spring-projects/spring-data-rest/issues/1487
- https://github.com/spring-projects/spring-data-rest/issues/1520
- https://access.redhat.com/errata/RHSA-2018:2405
- https://bugzilla.redhat.com/show_bug.cgi?id=1553024
- https://github.com/spring-projects/spring-data-rest
- https://jira.spring.io/browse/DATAREST-1127?redirect=false
- https://pivotal.io/security/cve-2017-8046
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.data:spring-data-rest-core- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9qf9-28h9-hqcj - CC BY 4.0
Vulnerability history: org.springframework.data:spring-data-rest-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 05.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 2
- Medium 3
- Low 1
Disclosures per year
- 2022: 3
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 4
-
Remote code execution in PATCH requests in Spring Data REST this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.