{"id":"CVE-2021-48012","state":"PUBLISHED","title":"fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML","description":"fast-toml through 0.5.4 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying TOML containing __proto__, constructor or prototype key segments. Attackers can pass [__proto__] or [constructor.prototype] table headers or __proto__.x dotted keys to parse() to pollute all objects, causing denial of service or authorization bypass.","publishedAt":"2026-10-12T20:55:05.966Z","updatedAt":"2026-10-26T17:37:12.265Z","severity":{"score":8.8,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Gin-Quin fast-toml"],"affected":[{"vendor":"Gin-Quin","product":"fast-toml","packageURL":"pkg:npm/fast-toml","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.5.4","versionType":"semver"}],"repo":"https://github.com/Gin-Quin/fast-toml"}],"references":["https://github.com/Gin-Quin/fast-toml/issues/8","https://github.com/Gin-Quin/fast-toml/pull/3","https://github.com/Gin-Quin/fast-toml","https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T19:49:22.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/48xxx/CVE-2021-48012.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-48012","state":"PUBLISHED","datePublished":"2026-10-12T20:55:05.966Z","dateUpdated":"2026-10-26T17:37:12.265Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-12T19:37:38.614Z"},"containers":{"cna":{"title":"fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML","descriptions":[{"lang":"en","value":"fast-toml through 0.5.4 contains a prototype pollution vulnerability that allows attackers to modify Object.prototype by supplying TOML containing __proto__, constructor or prototype key segments. Attackers can pass [__proto__] or [constructor.prototype] table headers or __proto__.x dotted keys to parse() to pollute all objects, causing denial of service or authorization bypass."}],"affected":[{"vendor":"Gin-Quin","product":"fast-toml","packageURL":"pkg:npm/fast-toml","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.5.4","versionType":"semver"}],"repo":"https://github.com/Gin-Quin/fast-toml"}],"references":[{"url":"https://github.com/Gin-Quin/fast-toml/issues/8","tags":["issue-tracking"],"name":"GitHub Issue #8"},{"url":"https://github.com/Gin-Quin/fast-toml/pull/3","tags":["issue-tracking","patch"],"name":"GitHub Pull Request #3"},{"url":"https://github.com/Gin-Quin/fast-toml","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml","name":"VulnCheck Advisory: fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.8,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-12T20:55:05.966Z"},"datePublic":"2021-01-14T00:00:00.000Z","credits":[{"lang":"en","value":"Abdulloh Nuriddinov","type":"finder"},{"lang":"en","value":"Asjidkalam","type":"finder"},{"lang":"en","value":"gnsehfvlr","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-48012","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-26T17:29:18.514431Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-26T17:37:12.265Z"}}]}}}