CVE-2026-59377Spring Data REST Incorrect Authorization
Spring
Vulnerability Summary
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 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 v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Spring Data REST 5.1.0 through 5.1.2
- Spring Data REST 5.0.0 through 5.0.8
- Spring Data REST 4.5.0 through 4.5.14
- Spring Data REST 4.0.0 through 4.4.16
- Spring Data REST through 3.7.21
- Spring Data REST 5.1.3 (open source)
- Spring Data REST 5.0.9 (open source)
- Spring Data REST 5.1.2.1 (commercial support only)
- Spring Data REST 5.0.8.1 (commercial support only)
- Spring Data REST 4.5.15 (commercial support only)
- Spring Data REST 4.4.17 (commercial support only)
- Spring Data REST 3.7.22 (commercial support only)
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Spring Data REST and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring Data REST CVEsYou are reading CVE-2026-59377. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://spring.io/security/cve-2026-59377
Data last checked: Nov 24, 2026 20:01 UTC