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.
- CVSS
- 8.2High
- Chance of exploitation (EPSS)
- 0.41%
- Published
- Oct 12, 2026
- In the news
- Not yet
What to do
A serious security flaw in Gin-quin Fast-toml that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Gin-quin Fast-toml
- Through 0.5.4
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2021-48012 published (CVSS 8.2) (Oct 12, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Oct 12, 2026
- CVECVE-2021-48012 published (CVSS 8.2)CVE Program · 21:17 UTC
References 4
- github.com /Gin-Quin/fast-toml
- github.com /Gin-Quin/fast-toml/issues/8
- github.com /Gin-Quin/fast-toml/pull/3
- www.vulncheck.com /advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml