A AegiFlow
CRITICALCVSS 9.8

CVE-2026-59940

CVE-2026-59940 updated by NVD

Published
2026-07-24
Modified
2026-09-20
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
npmseroval1.5.3

Remediation: Upgrade to 1.5.3 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.