{"answers":{"affected":"2 open source packages ship an affected version, including toml.","exploited":"There is no known exploitation of CVE-2026-114142 in the wild and no public exploit code.","fix":"Upgrade toml to 5.0.1 or later.","what":"CVE-2026-114142 is a high-severity vulnerability in BinaryMuse toml-node, published on 21 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-114142 and fix it if it is affected.\n\nWhat it is: CVE-2026-114142 is a high-severity vulnerability in BinaryMuse toml-node, published on 21 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-114142 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- toml (npm): affected all versions; fixed in 5.0.1\n- toml (npm): affected all versions; fixed in 5.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-114142/ (Markdown: https://insights.sbomify.com/CVE-2026-114142/index.md)","id":"CVE-2026-114142","markdown":"https://insights.sbomify.com/CVE-2026-114142/index.md","name":"CVE-2026-114142","record":{"aliases":["GHSA-h895-cgqg-jf52"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype","id":"CVE-2026-114142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"toml-node: Quadratic-complexity DoS via long dotted keys or table paths in toml.parse()","id":"CVE-2026-114143"},"packages":[{"ecosystem":"npm","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"toml","purl":null,"source":"GHSA-h895-cgqg-jf52"},{"ecosystem":"npm","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"toml","purl":"pkg:npm/toml","source":"GHSA-h895-cgqg-jf52"}],"prev":{"headline":"toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()","id":"CVE-2026-114141"},"products":["toml-node"],"published":"2026-10-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-28","vendors":["BinaryMuse"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-114142/"}