CVE Watchtower

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.
Severity Level
MEDIUM(6.5)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
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:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected 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
Patched Versions
  • 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.

  1. Check whether you run Spring Data REST and which version.
  2. 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 alerts

External References

Data last checked: Nov 24, 2026 20:01 UTC