Read the docs
TI-2026-56817 Aliases CVE-2026-82404GHSA-p95v-992w-h6c3

TOON: Prototype pollution when decoding untrusted TOON input

Priority MEDIUM 43CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00677 52nd percentileScored 2026-11-07
Fix Fixed toon (toon-format): 2.3.1@toon-format/toon (npm): 2.3.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
toon-formattoonbefore 2.3.12.3.1Patch availableCNA
—@toon-format/toon (npm)before 2.3.12.3.1Patch availableGHSA-p95v-992w-h6c3
  • toon Vendortoon-format Affected before 2.3.1 Fixed in 2.3.1 Patch available CNA
  • @toon-format/toon (npm) Vendor— Affected before 2.3.1 Fixed in 2.3.1 Patch available GHSA-p95v-992w-h6c3

Remediation

  • Fix · CNA toon (toon-format) Fixed in 2.3.1
  • Fix · GHSA-p95v-992w-h6c3 @toon-format/toon (npm) Fixed in 2.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-82404
  2. 2026-10-03 Alias added: GHSA-p95v-992w-h6c3

References

Sources