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

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59377
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59377)
- パーマリンク: https://vulnpulse.app/items/spring-security-bfbfebc587fe

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…