# CVE-2021-48012: fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 42% of CVEs (2026-11-30)
- Published: 2026-10-12T20:55:05.966Z
- Modified: 2026-10-26T18:17:04.217Z
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Gin-Quin fast-toml: up to 0.5.4

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/Gin-Quin/fast-toml/issues/8> (issue-tracking)
- <https://github.com/Gin-Quin/fast-toml/pull/3> (issue-tracking, patch)
- <https://github.com/Gin-Quin/fast-toml> (product)
- <https://www.vulncheck.com/advisories/fast-toml-through-0.5.4-prototype-pollution-via-proto-keys-in-parsed-toml> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-48012](https://www.cve.org/CVERecord?id=CVE-2021-48012), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2021-48012](https://nvd.nist.gov/vuln/detail/CVE-2021-48012), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2021-48012 · Whole record: https://cve.day/CVE-2021-48012.json · Rebuilt by cve.day 2026-11-25T22:58:09.124Z
