Vulnerability library
Security checkOctober 28, 2026

Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) witho

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmseroval

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the seroval package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.6.7
  • Patched version(s): 1.6.8

References

Could your website be exposed too?

SmartScanner can check your website for Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) witho and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 28, 2026