Skip to content

CVE-2026-59940 Seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization

CriticalCVSS 9.8 EPSS 0.81%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm seroval(npm) < 1.5.3; <= 1.5.2 1.5.3 Fixed
lxsmnsyc seroval = < 1.5.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
lxsmnsyc seroval = < 1.5.3 No fix listed
npm seroval(npm) <= 1.5.2 No fix listed
npm seroval(npm) < 1.5.3 1.5.3

References