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.
Published: 2026-10-12
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Pollution
Action: Patch
AI Analysis

Impact

fast-toml versions up to 0.5.4 are vulnerable to prototype pollution because the parser accepts TOML tables or keys that contain __proto__, constructor, or prototype. By supplying such keys, an attacker can modify Object.prototype and thereby alter the behavior of all JavaScript objects in the process. This enables denial of service or authorization bypass scenarios if the polluted prototype is later used in application logic.

Affected Systems

The vulnerability affects the fast-toml package provided by the Gin-Quin project, specifically any deployment using version 0.5.4 or earlier.

Risk and Exploitability

The CVSS score of 8.8 marks this flaw as high risk. Although an EPSS score is not available, the flaw remains exposed in the wild and is not currently listed in CISA’s KEV catalog. Attackers can exploit it by supplying crafted TOML input to the parse() function, which is typically invoked on user data. Successful exploitation leads to uncontrolled manipulation of JavaScript prototypes, rendering the application vulnerable to denial of service or elevated privileges.

Generated by OpenCVE AI on October 12, 2026 at 22:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fast-toml to version 0.5.5 or later, which resolves the prototype pollution issue.
  • If an immediate upgrade is impossible, sanitize all incoming TOML by stripping or rejecting any __proto__, constructor, or prototype keys before invoking parse().
  • When possible, limit parse() usage to trusted data and enforce a strict configuration that blocks dotted keys containing __proto__.

Generated by OpenCVE AI on October 12, 2026 at 22:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Gin-quin
Gin-quin fast-toml
Vendors & Products Gin-quin
Gin-quin fast-toml

Mon, 12 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title fast-toml through 0.5.4 Prototype Pollution via __proto__ Keys in Parsed TOML
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 8.8, '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'}


Subscriptions

Gin-quin Fast-toml
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T17:37:12.265Z

Reserved: 2026-10-12T19:37:38.614Z

Link: CVE-2021-48012

cve-icon Vulnrichment

Updated: 2026-10-26T17:36:18.162Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T21:17:06.057

Modified: 2026-10-26T18:17:04.217

Link: CVE-2021-48012

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:25:28Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')