Incorrect authorization in Spring Data REST - CVE-2026-59377
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote user to modify persisted association links on an aggregate configured to be read-only.
The vulnerability exists due to a missing authorization check in Spring Data REST's collection-like association resource handler when processing requests for an aggregate whose repository save method is not exported. A remote user can bypass the read-only restriction to add and persist association links on the parent aggregate.
The domain type must declare a writable, collection-like association whose target type is also exported through a repository.