Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tome
  4. ›
  5. CVE-2026-114142

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

October 22, 2026

CVE-2026-63376 described prototype pollution through proto key-path desynchronization and was fixed in 4.1.2 by rewriting the path bookkeeping and adding an ownedContainers WeakSet. The desynchronization is still reachable, spelled with a quote character instead of a dot, and the owned-container check is not applied on the path that matters.

A four-line TOML document parsed with toml.parse() writes a property onto Object.prototype, where it is visible to every object in the process — including objects produced by unrelated libraries.

References

  • github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606
  • github.com/BinaryMuse/toml-node/releases/tag/v5.0.1
  • github.com/BinaryMuse/toml-node/security/advisories/GHSA-h895-cgqg-jf52
  • github.com/advisories/GHSA-h895-cgqg-jf52
  • nvd.nist.gov/vuln/detail/CVE-2026-114142

Code Behaviors & Features

Detect and mitigate CVE-2026-114142 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.1

Fixed versions

  • 5.0.1

Solution

Upgrade to version 5.0.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/tome/CVE-2026-114142.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 23 Oct 2026 00:16:14 +0000.