## Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check

- 種別: advisory
- 重大度: high
- 関連技術: nodejs
- CVE: CVE-2026-116580
- 公開日時: 2026-10-28T21:17:15.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-7rv5-mrxv-xcr9)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-7rv5-mrxv-xcr9

影響: npm:seroval <= 1.6.7 → 1.6.8
When fromJSON rebuilt an async iterator, it called on() on the iterator's source without checking that the source was a seroval stream. A crafted payload could pick another value as the source, such as a function returned by an application plugin. The deserializer then called that value's on method. This is a variant of GHSA-mv8w-475r-vwqw. That fix covered the promise and stream control nodes but not the async iterator node. Impact An application that passes untrusted input to fromJSON with pl…