CVE-2026-114142

Source
https://cve.org/CVERecord?id=CVE-2026-114142
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114142.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-114142
Aliases
Published
2026-10-21T20:28:36Z
Modified
2026-10-22T10:46:15Z
Severity
  • 8.8 (High) CVSS_V4 - 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 CVSS Calculator
Summary
toml-node: Prototype pollution: parsing a TOML document can write to Object.prototype
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-1321"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114142.json"
}
References

Affected packages

Git / github.com/binarymuse/toml-node

Affected ranges

Type
GIT
Repo
https://github.com/binarymuse/toml-node
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "5.0.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "609c873fffea0a27ebe5b4dd098eed2b3daf3606"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v5.0.1",
            "range":  [
                {
                    "fixed":  "9ebfa698682500bbd30ce28e612ecc0208d9f70e"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.4.0
0.4.1
1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
v2.*
v2.3.1
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v3.*
v3.0.0
v4.*
v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.1.2
v4.3.0
v5.*
v5.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114142.json"