CVE-2026-82404 json
TOON: Prototype pollution when decoding untrusted TOON input
published 3mo ago modified 2mo ago also EUVD-2026-70214 , GHSA-p95v-992w-h6c3
- cvss
- 8.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @toon-format/toon 2.3.1
- github.com/toon-format/toon@94a2b75 commit
- github.com/toon-format/toon#316 pull request
- github.com/toon-format/toon/releases/tag/v2.3.1 release
Is CVE-2026-82404 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
| GitHub | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @toon-format/toon | <2.3.1 |
2.3.1 |
Affected products
- toon-format toon
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/toon-format/toon/pull/316
web
-
github.com
/toon-format/toon/commit/94a2b7560b2b5ed903a4d466a3bce8b13daa2660
web
-
github.com
/toon-format/toon/security/advisories/GHSA-p95v-992w-h6c3
web, advisory
-
github.com
/toon-format/toon/releases/tag/v2.3.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-82404
advisory
-
github.com
/toon-format/toon
package
Sources
- CVE List CVE-2026-82404
- GitHub Advisory GHSA-p95v-992w-h6c3
- NVD CVE-2026-82404
- Maintainer advisory GHSA-p95v-992w-h6c3
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of toon-format/toon published their own advisory on GitHub. Reviewed sources take precedence over it.