CVE-2026-82404: toon · Prototype Pollution
Affects toonSource CVE Database V5
Not known to be exploited · CVSS 8.3 High : upgrade to 2.3.1 soon.
Data as of 1 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade toon and @toon-format/toon to 2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| toon-formattoon | Affected
| Fixed in
|
npm@toon-format/toonpkg:npm/%40toon-format/toonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in toon version 2.3.1. Users should upgrade to version 2.3.1 or later to remediate the issue.
Description
TOON is a compact, human-readable serialization of JSON data for LLM prompts. Prior to 2.3.1, decoding attacker-controlled TOON with a __proto__, constructor, or prototype key wrote through the object prototype chain instead of creating an own property, polluting Object.prototype for the runtime. In packages/toon/src/decode/expand.ts, the expandPaths: 'safe' path and insertPathSafe function made dotted keys such as a.__proto__.x the strongest vector, while plain nested objects, tabular rows, quoted keys, and streaming decode were also affected. The encoder also dropped own __proto__ properties and could invoke an inherited setter during normalization. Services that decode untrusted TOON could experience denial of service or, when a suitable downstream gadget is present, remote code execution. This issue is fixed in version 2.3.1.
References
- github.com/toon-format/toon/security/advisories/GHSA-p95v-992w-h6c3 (opens in a new tab)
- github.com/toon-format/toon/pull/316 (opens in a new tab)
- github.com/toon-format/toon/commit/94a2b7560b2b5ed903a4d466a3bce8b13daa2660 (opens in a new tab)
- github.com/toon-format/toon/releases/tag/v2.3.1 (opens in a new tab)