{"id":"CVE-2026-114142","published":"2026-10-21T20:28:36Z","modified":"2026-10-28T18:19:14Z","title":"toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype","vendor":"BinaryMuse","product":"toml-node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00511,"percentile":0.44465,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-h895-cgqg-jf52","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","tags":["x_refsource_MISC"]},{"url":"https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":8.89},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"binarymuse","affectedVersions":[{"vendor":"BinaryMuse","product":"toml-node","versions":["< 5.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-28T18:18:57.178068Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"toml","vulnerableRanges":["<5.0.1"],"patched":["5.0.1"],"from":["GHSA-h895-cgqg-jf52"],"provenance":"source"}],"summary":{"text":"toml-node, a TOML parser for Node.js and the browser, contains a prototype pollution flaw in its lib/compiler.js component, where quoteDottedString() produces the same bookkeeping string for distinct quoted key paths, letting toml.parse() write attacker-controlled properties to Object.prototype. An attacker who can supply a TOML document to toml.parse() needs no privileges or user interaction over the network, and the injected properties can then be inherited by objects created elsewhere in the process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:00Z"},"euvd":{"id":"EUVD-2026-107553","exploited":false,"provenance":"source"}}