Skip to content
High 8.3

Vulnerability in @toon-format/toon

CVE-2026-82404 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2026-82404 has been found in @toon-format/toon.
Attackers can target a specific entry point like __proto__ over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 8.3/10.
What to do: upgrade @toon-format/toon to 2.3.1 or later.
If unsure, ask your IT team or search "@toon-format/toon CVE-2026-82404" on the vendor's site.

CVE-2026-82404 (@toon-format/toon) — CWE-1321 / CVSS v3 8.3
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: __proto__ / constructor / prototype / Object.prototype
Patched: 2.3.1 — apply immediately
Workaround: None.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-1321) exists in @toon-format/toon. Attackers reach the vulnerable code path via __proto__ without authentication.

Affected scope

Check the vendor advisory for the affected versions of @toon-format/toon. Attack surface: __proto__ / constructor / prototype / Object.prototype.

Severity

Severity: High (CVSS 8.3/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 2.3.1.

Workaround

Workaround: None.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r '@toon-format/toon' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r '@toon-format/toon' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で @toon-format/toon を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaroundmitigate
    None.

    パッチが適用されるまでの応急処置として、None. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patchpatch
    Upgrade @toon-format/toon to 2.3.1

    ステージング環境で 2.3.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
npm@toon-format/toon
< 2.3.1→ 2.3.1
Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details