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

CVE-2026-114142

toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype

Publiée le 21 oct. 2026 · modifiée le 28 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 49/100

Résumé

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() can write attacker-controlled properties to Object.prototype because quoteDottedString() in lib/compiler.js produces the same bookkeeping string for distinct quoted key paths, allowing addTableArray() to clear another key's guard. The assign() path then descends through an unowned Date value without applying the owned-container check and can reach the prototype chain. Objects created elsewhere in the process can inherit the injected property. This issue is fixed in version 5.0.1.

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

Produits et versions affectés

BinaryMuse (1 ligne(s))
BinaryMuse
ProduitVersionsCorrigé dansSource
toml-node Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
toml avant 5.0.1 (exclu) 5.0.1 GitHub Advisory

Correctif

Mise à jour — npm/toml 5.0.1source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

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

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-1321 · Autre (CWE-1321)

Comment sont obtenues et calculées ces données