- Accueil
- Vulnérabilités
- CVE-2026-114142
CVE-2026-114142
toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| toml-node | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-h895-cgqg-jf52 — toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype 22 oct. 2026
Références
- https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-h895-cgqg-jf52x_refsource_CONFIRM
- https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606x_refsource_MISC
- https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-114142ADVISORY
- https://github.com/BinaryMuse/toml-nodePACKAGE
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)