{"schemaVersion":4,"id":"CVE-2026-59377","aliases":[],"status":"published","duplicateOf":null,"title":"Spring Data REST allows POST requests on association resources although save(…) is not exported","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) .\nIn that case, the PUT , PATCH and DELETE methods on the aggregate's association resources are correctly withheld.\n\n However, the POST method on collection-like association resources is not subject to the same check.\n\n An attacker can send a POST request with a text/uri-list body to such an association resource, for example /orders/42/items .\nSpring Data REST adds the referenced resources to the association and invokes the repository's save(…) method for the parent aggregate.\nThis persists the new association links despite the read-only configuration.\n\n The application is vulnerable if all of the following are true:\n\n\n 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(…) .\n The domain type declares a writable, collection-like association whose target type is exported through a repository as well.\n The attacker can reach the Spring Data REST endpoints.\nWhether that requires authentication depends on the application.\n\n On affected applications the integrity of aggregates intended to be read-only can be compromised.","dates":{"published":"2026-12-02T07:10:36.340Z","modified":"2026-12-02T07:10:36.340Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00489,"percentile":0.43683,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00489,"percentile":0.43683}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00489,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00489,"percentile":0.43683}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"spring","product":"spring data rest","name":"Spring Data REST","label":"spring data rest","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.1.0, < 5.1.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.1.0","startInclusive":true,"end":"5.1.2.1","endInclusive":false}},{"text":"≥ 5.0.0, < 5.0.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.8.1","endInclusive":false}},{"text":"≥ 4.5.0, < 4.5.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.5.0","startInclusive":true,"end":"4.5.15","endInclusive":false}},{"text":"≥ 4.0.0, < 4.4.17","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.4.17","endInclusive":false}},{"text":"< 3.7.22","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.7.22","endInclusive":false}},{"text":"≥ 5.1.0, < 5.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.1.0","startInclusive":true,"end":"5.1.3","endInclusive":false}},{"text":"≥ 5.0.0, < 5.0.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.9","endInclusive":false}}],"versionsText":"≥ 5.1.0, < 5.1.2.1 | ≥ 5.0.0, < 5.0.8.1 | ≥ 4.5.0, < 4.5.15 | ≥ 4.0.0, < 4.4.17 | < 3.7.22 | ≥ 5.1.0, < 5.1.3 | ≥ 5.0.0, < 5.0.9","eol":null,"hubHref":"/vendor/spring/spring_data_rest"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59377","label":"spring.io/security/cve-2026-59377","hostname":"spring.io","tags":[]},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N&version=3.1","label":"nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N&version=3.1","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:10:36.340Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,65],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00489,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T07:10:36.340Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T07:10:36.340Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}],"epss":{"value":0.00489,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:05:19.987Z","stale":false,"partial":false}}