CVE Catalog

CVE-2026-104846

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

Seroval from 0.12.0 until 1.6.2 has a vulnerability in fromJSON deserialization of a fulfilled Promise control node that can pass a plugin-produced callable-bearing thenable to a native Promise resolver. ECMAScript thenable assimilation then invokes the callable unexpectedly, allowing attacker-controlled JSON to trigger code in applications using plugin-capable Seroval releases. This path bypasses the Promise resolver type-confusion remediation in version 1.5.3 for CVE-2026-59940 because the unexpected invocation occurs through native Promise settlement after the referenced value is deserialized. This issue is fixed in version 1.6.2.

Risk Assessment

The risk is the potential for arbitrary code execution in the application by an attacker who can supply specially crafted JSON, which could lead to compromise of the application and its data.

Recommendation

It is recommended to upgrade Seroval to version 1.6.2 or later and restrict the use of plugins to trusted sources only.

Other vulnerabilities in Seroval

See all
Original NVD description (English source)

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. From 0.12.0 until 1.6.2, fromJSON deserialization of a fulfilled Promise control node can pass a plugin-produced callable-bearing thenable to a native Promise resolver. ECMAScript thenable assimilation then invokes the callable unexpectedly, allowing attacker-controlled JSON to trigger code in applications using plugin-capable Seroval releases. This path bypasses the Promise resolver type-confusion remediation in version 1.5.3 for CVE-2026-59940 because the unexpected invocation occurs through native Promise settlement after the referenced value is deserialized. This issue is fixed in version 1.6.2.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS