{"id":"CVE-2026-63376","published":"2026-09-03T20:34:57Z","modified":"2026-09-05T02:16:12Z","title":"toml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronization","vendor":"BinaryMuse","product":"toml-node","tier":"tail","description":{"text":"toml-node is a TOML parser for Node.js and the browser. Prior to 4.1.2, toml.parse() in lib/compiler.js can be tricked by a table path such as a.b.y.__proto__.__proto__, allowing traversal from a scalar value into Number.prototype and Object.prototype. The currentPath tracking value uses both arrays and strings, so valueAssignments records a comma-joined path such as a,b.y while deepRef checks the dot-joined path a.b.y, allowing the duplicate-key guard to miss and attacker-controlled keys to be written to Object.prototype. A table-array prefix-clearing path in addTableArray can also erase guard state before the same __proto__ traversal. Injected properties become visible throughout the Node.js process and can cause denial of service, logic or authorization bypass, or code execution when an application contains a suitable gadget. This issue is fixed in version 4.1.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00683,"percentile":0.47717,"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-v5mp-jgw5-2x6j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44","tags":["x_refsource_MISC"]},{"url":"https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.54},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"binarymuse","affectedVersions":[{"vendor":"BinaryMuse","product":"toml-node","versions":["< 4.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-05T02:15:49.966502Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"toml","vulnerableRanges":["<4.1.2"],"patched":["4.1.2"],"from":["GHSA-v5mp-jgw5-2x6j"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-70738","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-binarymuse-toml-node-cve-2026-63376","children":[{"from":"CVE-2026-63376","to":"CVE-2026-114141","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/compiler.js"],"commits":["https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44","https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463"],"basis":"shared function","functions":["compile"]}]},{"from":"CVE-2026-63376","to":"CVE-2026-114142","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/compiler.js"],"commits":["https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44","https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463"],"basis":"shared function","functions":["compile"]}]},{"from":"CVE-2026-63376","to":"CVE-2026-114143","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/compiler.js"],"commits":["https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44","https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463"],"basis":"shared function","functions":["compile"]}]}],"packageHistory":[{"cve":"CVE-2026-63376","published":"2026-09-03","fixed":"4.1.2","kev":false},{"cve":"CVE-2026-77465","published":"2026-09-03","fixed":"4.2.0","kev":false,"link":{"from":"CVE-2026-63376","to":"CVE-2026-77465","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:toml","fromFixed":"4.1.2","toFixed":"4.2.0","daysApart":0}]}},{"cve":"CVE-2026-114141","published":"2026-10-21","fixed":"5.0.1","kev":false},{"cve":"CVE-2026-114142","published":"2026-10-21","fixed":"5.0.1","kev":false}],"package":"npm:toml"}}