Spring Data REST can be configured to make an aggregate read-only by excluding the repository's save(…) method from
Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 5.1.3 : update Spring Data REST when convenient.
Data as of 2 Dec 2026, 10:30 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 5.1.3, 5.1.2.1, 5.0.9 +4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Data REST | Affected
| Fixed in
|
| SpringSpring Data REST | Affected
| Fixed in
|
| SpringSpring Data REST | Affected
| Fixed in
|
| SpringSpring Data REST | Affected
| Fixed in
|
| SpringSpring Data REST | Affected
| Fixed in
|
| SpringSpring Data REST | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since the vulnerability arises from the configuration of excluding the save method but not restricting POST on association resources, mitigation involves reviewing and adjusting repository export configurations to ensure that POST methods on collection-like associations are properly restricted or disabled when the aggregate is intended to be read-only. Application developers should verify access controls on REST endpoints and consider explicitly disabling POST on association resources if the aggregate should be immutable.
Description
Spring Data REST can be configured to make an aggregate read-only by excluding the repository's save method from export. However, this configuration does not prevent POST requests on collection-like association resources, allowing an attacker to add association links and persist changes despite the read-only setting. This vulnerability affects applications that expose repositories over REST with save methods excluded, have writable collection-like associations, and allow attacker access to the endpoints. The integrity of aggregates intended to be read-only can be compromised.