CVE-2026-59377
Received Received - Intake

Spring Data REST Association POST Bypass in Read-Only Aggregates

Vulnerability report for CVE-2026-59377, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

Spring Data REST can be configured to make an aggregate read-only by excluding the repository's save(…) method from export, for example via @RestResource(exported = false) . In that case, the PUT , PATCH and DELETE methods on the aggregate's association resources are correctly withheld. However, the POST method on collection-like association resources is not subject to the same check. An attacker can send a POST request with a text/uri-list body to such an association resource, for example /orders/42/items . Spring Data REST adds the referenced resources to the association and invokes the repository's save(…) method for the parent aggregate. This persists the new association links despite the read-only configuration. The application is vulnerable if all of the following are true: A repository that is exported over REST excludes its save(…) method from export, either explicitly or by disabling the export of repository methods by default without re-exporting save(…) . The domain type declares a writable, collection-like association whose target type is exported through a repository as well. The attacker can reach the Spring Data REST endpoints. Whether that requires authentication depends on the application. On affected applications the integrity of aggregates intended to be read-only can be compromised.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Spring Data REST allows attackers to bypass read-only configurations by sending a POST request with a text/uri-list body to an association resource. This invokes the repository's save() method, compromising the integrity of aggregates intended to be read-only.

Detection Guidance

To detect this vulnerability, check if your Spring Data REST application meets the conditions: a read-only repository excluding save() method, a writable collection-like association, and exposed endpoints. Inspect logs for POST requests to association resources like /orders/42/items with text/uri-list bodies. Use network monitoring tools to identify unauthorized POST requests to such endpoints.

Impact Analysis

An attacker could modify data in read-only aggregates, adding unauthorized associations or links. This could lead to data corruption, unauthorized access, or unintended changes in the application's data integrity.

Compliance Impact

This vulnerability could lead to unauthorized data modifications, violating integrity requirements in GDPR and HIPAA. It may result in non-compliance due to potential data breaches or unauthorized access to sensitive information.

Mitigation Strategies

Immediately upgrade to fixed versions of Spring Data REST (e.g., 5.1.3, 5.0.9, 4.5.15, 4.4.17, or 3.7.22). Alternatively, restrict POST requests at the web security layer or exclude the affected association from export using @RestResource(exported = false).

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59377. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...