# CVE-2026-114142: toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-21T20:28:36.615Z
- Modified: 2026-10-28T19:17:27.063Z
- Also known as: GHSA-h895-cgqg-jf52
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- BinaryMuse toml-node: < 5.0.1
- toml (npm): before 5.0.1

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-h895-cgqg-jf52> (web)
- <https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606> (web)
- <https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114142> (advisory)
- <https://github.com/BinaryMuse/toml-node> (package)

## Sources

- CVE List: [CVE-2026-114142](https://www.cve.org/CVERecord?id=CVE-2026-114142), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-h895-cgqg-jf52](https://github.com/advisories/GHSA-h895-cgqg-jf52), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-114142](https://nvd.nist.gov/vuln/detail/CVE-2026-114142), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-114142 · Whole record: https://cve.day/CVE-2026-114142.json · Rebuilt by cve.day 2026-11-25T22:59:46.685Z
