CVE-2026-63376 Details
Description
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.
A prototype pollution vulnerability has been identified in toml-node, a TOML parser for Node.js and the browser, affecting versions prior to 4.1.2. The issue arises in the 'toml.parse()' function within 'lib/compiler.js', where an attacker can manipulate table paths to traverse from scalar values into 'Number.prototype' and 'Object.prototype'. This exploitation is possible because the current path tracking desynchronizes with the actual traversal, allowing attacker-controlled keys to be written to 'Object.prototype'. The vulnerability can lead to the injection of properties that are visible throughout the Node.js process, potentially causing a denial of service, logic or authorization bypass, or even remote code execution, depending on the application's context.
Users can upgrade to toml-node version 4.1.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 3, 2026CISA-ADP
Assessed Sep 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-v5mp-jgw5-2x6j | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44 | [email protected] | Source CodeVendor |
| https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463 | [email protected] | Source CodeVendor |
| https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-v5mp-jgw5-2x6j | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BinaryMuse toml-node | < 4.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 5, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2026 | New CVE Received | [email protected] |
Volerion