CVE-2026-63376 toml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cockpit-image-builder(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| npm toml(npm) | < 4.1.2 | 4.1.2 | Fixed |
| BinaryMuse toml-node | = < 4.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| BinaryMuse toml-node | = < 4.1.2 | No fix listed |
| redhat/cockpit-image-builder(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| npm toml(npm) | < 4.1.2 | 4.1.2 |
References
- https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-v5mp-jgw5-2x6j exploit vendor-advisory
- https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44 patch
- https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463 patch
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2528256 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product
- ENISA EUVD EUVD-2026-70738 third-party-advisory