[ CVE-2026-116580 · Published 26 Oct 2026 ]
Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check
CVSS 7.3
EPSS <1%Fix available
[ Description ]Official description
Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.8, fromJSON rebuilds an AsyncIteratorFactoryInstance by calling source.on(listener) without requiring source to be a genuine internal stream. With untrusted Seroval input and an application plugin that returns a callable value or an object exposing an on method, a crafted node can reuse an identifier so the deserializer invokes the plugin-produced value. This is an incomplete-fix variant of CVE-2026-59940. The resulting confidentiality, integrity, or availability impact depends on the behavior exposed by the application plugin. This issue is fixed in version 1.6.8.
[ Fixes ]Fixes and patches
- seroval 1.6.8Fixed version · GitHub Advisories · npm package seroval: upgrade to 1.6.8 or later (affected <= 1.6.7)
[ Packages ]Affected open-source packages
- seroval npmAffected <= 1.6.7 · fixed in 1.6.8 · GHSA-7rv5-mrxv-xcr9