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

CVE-2026-59342

Spring Data MongoDB String query logic injection via function operator bind parameter

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

Moyen 41/100

Résumé

Spring Data MongoDB's parameter binding mechanism for JSON-based query and aggregation using placeholder syntax did not contextually escape bound String argument values when those placeholders appeared inside a quoted string literal. The application is vulnerable if all of the following are true: MongoDB server-side JavaScript functions are enabled. The application accepts input parameters from untrusted sources and uses them without prior sanitization as repository query method argument of type String. The repository method is annotated with an MQL query template (e.g. @Query , @Aggregation ) that uses a value placeholder inside a script expression (e.g. $accumulator , $function , $where , ...)

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

Produits et versions affectés

Spring (7 ligne(s))
Spring
ProduitVersionsCorrigé dansSource
Data MongoDB de 5.1.0 (inclus) à 5.1.2.1 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB de 5.0.0 (inclus) à 5.0.8.1 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB de 4.5.0 (inclus) à 4.5.15 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB de 4.4.0 (inclus) à 4.4.17 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB avant 3.4.22 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB de 5.1.0 (inclus) à 5.1.3 (exclu) — CNA (éditeur ou attributeur)
Data MongoDB 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:H/PR:N/UI:N/S:U/C:H/I:N/A:L (CVSS 3.1, CNA:vmware)

Comment sont obtenues et calculées ces données