highCVSS 8.3Vulnerability

CVE-2026-82404

### Summary Decoding attacker-controlled TOON containing a `__proto__`, `constructor`, or `prototype` key wrote through the object's prototype chain instead of creating an own property, polluting `Object.prototype` for the whole runtime. The `expandPaths: 'safe'` path (dotted keys such as `a.__proto__.x`) was the strongest vector; plain nested objects, tabular rows, and quoted keys were all affected. The encoder had a matching defect: it silently dropped own `__proto__` properties and could fire an inherited setter while normalizing. ### Impact Any service that decodes untrusted TOON is affected. Prototype pollution can escalate to denial of service or, with a suitable downstream gadget, remote code execution. ### Patches Upgrade to `@toon-format/[email protected]`. Decoders now materialize `__proto__`/`constructor`/`prototype` as ordinary own data properties, matching `JSON.parse` semantics; the encoder preserves the same keys without invoking inherited accessors. ### Workarounds None. Upgrade is the only fix. Callers who cannot upgrade should reject input whose keys include `__proto__`, `constructor`, or `prototype` before decoding. ### Port maintainers The same bug shape can exist in any implementation that assigns decoded keys with `obj[key] = value`. Rust, Swift, Java, Python, and C# ports should audit their object-construction and path-expansion paths for the three prototype keys.

Properties

severity
high
summary
TOON: Prototype pollution when decoding untrusted TOON input
epss_score
0.00398
cvss_score
8.3
ghsa_published
2026-09-03T19:52:08Z
source_url
https://github.com/advisories/GHSA-p95v-992w-h6c3
ghsa_updated
2026-09-03T19:52:09Z
ghsa_id
GHSA-p95v-992w-h6c3
cve_id
CVE-2026-82404
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
is_ghsa_only
false
epss_percentile
0.32954

Related Entities (5)

ENRICHED_BY (1)

[Source]FIRST EPSS

VULNERABLE_TO (1)

[Software]npm/@toon-format/toon

AFFECTS (1)

[Software]npm/@toon-format/toon

HAS_WEAKNESS (1)

[Weakness]Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-82404 (CVSS 8.3) — Ninja Signal Threat Intelligence | Ninja Signal