fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
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.
- Products
- fast-toml
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-48012
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 15:55 UTC · Revision 2
Source evidence
fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
core-cve · Original sourcePublished 12 Oct 2026, 20:55 UTC
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.
cve:CVE-2021-48012
fast-toml
Fixed versions: Not specified
Complete source record
{
"id": "6169b1662ddf80a7ea86868d2808bce3b7a23b8b75959fa632e8b620e40303cf",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-48012",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML",
"summary": "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.",
"evidence": "cve:CVE-2021-48012",
"products": [
{
"name": {
"value": "fast-toml",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2021-48012",
"aliases": [
"CVE-2021-48012"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"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",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.2,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
}
],
"affected": [
{
"repo": "https://github.com/Gin-Quin/fast-toml",
"vendor": "Gin-Quin",
"product": "fast-toml",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "0.5.4"
}
],
"packageURL": "pkg:npm/fast-toml",
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-26T17:37:12.265Z",
"provider": "cve",
"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"
],
"provider_metadata": {
"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": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-26T17:37:12.265Z"
}
}
],
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-12T20:55:05.966Z"
}
}
},
"related_cves": [
{
"value": "CVE-2021-48012",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 326363,
"published_at": "2026-10-12T20:55:05.966+00:00"
}