← Vulnerabilities

AdvisorySpringJava

cve-2026-59377 - MEDIUM - Spring Data REST allows POST requests on association resources although save(…) is not exported

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 rep…

Read on Spring Security Advisories

On 11/19/2026, 09:00 AM, Spring Security Advisories published "cve-2026-59377 - MEDIUM - Spring Data REST allows POST requests on association resources although save(…) is not exported" (type: Advisory). Related technologies: Spring, Java. CVE: CVE-2026-59377.