CVE-2026-59377

MediumCVSS 6.5/10Last modified Dec 2, 2026

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.

Metrics

CVSS 3.1 6.5/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-593788.2Spring Boot applications with Actuator can be vulnerable to an "Authentication Bypass" vulnerability when an application resource that requiCVE-2026-593795.3Spring WS added destination checks to each WebServiceMessageSender , see CVE-2026-40999 . Screening a peer-supplied destination for reachaCVE-2026-59385.5Improper control flow management allows a crafted document action chain to cause modal dialog reentry on the main thread, resulting in UI frCVE-2026-593817.1The fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the CVE-2026-593826.8The symbolic link guard in AbstractZipTransformer.onInit() protects an explicitly configured workDirectory , but not the default one. The deCVE-2026-593838.0The fix for CVE-2026-59307 introduced a regression in JdbcMessageStore . When the store is configured as a <bean> or via @Bean , the Spring CVE-2026-593848.8During parallel state execution, the state compiler pickled the __context__ dictionary without validation. Objects with malicious __reduce__CVE-2026-593852.7A user with SpaceDeveloper privileges could modify the URL of a space-scoped broker without altering its credentials, enabling extraction ofCVE-2026-593866.5A SpaceSupporter could improperly modify an application's start command and buildpack—actions requiring SpaceDeveloper privileges. This privCVE-2026-593878.8The Nginx routing configuration for Cloud Controller blocks unauthenticated access to /internal/v4/ and /internal/v5/ endpoints but omits anCVE-2026-593886.5Cloud Controller (CAPI) leaks sensitive data into audit logs in multiple instances: custom buildpack credentials are exposed in audit eventsCVE-2026-593895.3Spring WebFlux applications that parse multipart request are vulnerable to part smuggling when relaying multipart to downstream services.
CVE-2026-59377: Medium severity, CVSS 6.5 | Vulnix