CVE Catalog

CVE-2026-59940

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

Seroval prior to 1.5.3 allows attacker-controlled JSON deserialization that can lead to unintended side effects, and when combined with frameworks registering callable wrappers, potentially unintended server-side invocation or remote code execution.

Risk Assessment

Potential remote code execution on the server if the application uses seroval with plugins enabled and registers callable wrappers.

Recommendation

Update seroval to version 1.5.3 or later.

Original NVD description (English source)

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.5.3, seroval.fromJSON() allows attacker-controlled JSON Promise control nodes to operate on values from the general deserialization reference table without verifying genuine internal Promise resolver records, causing deserialization side effects with plugins enabled and potentially unintended server-side invocation or remote code execution when downstream frameworks register callable wrappers. This issue is fixed in version 1.5.3.

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