CVE-2021-48012

published 12 Oct 2026 · updated 26 Oct 2026

fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Gin-Quin<=0.5.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-48012 severity on Zeptric[![CVE-2021-48012](https://zeptric.io/badge/cve/CVE-2021-48012.svg)](https://zeptric.io/cve/CVE-2021-48012)