1. Accueil
  2. Vulnérabilités
  3. CVE-2026-59377

CVE-2026-59377

Spring Data REST allows POST requests on association resources although save(…) is not exported

Publiée le 2 déc. 2026 · modifiée le 2 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 37/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Spring (7 ligne(s))
Spring
ProduitVersionsCorrigé dansSource
Data REST de 5.1.0 (inclus) à 5.1.2.1 (exclu) — CNA (éditeur ou attributeur)
Data REST de 5.0.0 (inclus) à 5.0.8.1 (exclu) — CNA (éditeur ou attributeur)
Data REST de 4.5.0 (inclus) à 4.5.15 (exclu) — CNA (éditeur ou attributeur)
Data REST de 4.0.0 (inclus) à 4.4.17 (exclu) — CNA (éditeur ou attributeur)
Data REST avant 3.7.22 (exclu) — CNA (éditeur ou attributeur)
Data REST de 5.1.0 (inclus) à 5.1.3 (exclu) — CNA (éditeur ou attributeur)
Data REST de 5.0.0 (inclus) à 5.0.9 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, CNA:vmware)

Comment sont obtenues et calculées ces données