Intel

AIKIDO-2026-476182

seroval is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataCVE-2026-59940 Published 5 days ago

98

Critical Risk

This Affects:

JSseroval
0.13.0 - 1.5.2
Fixed in 1.5.3
Are you affected? Scan for Free

TL;DR

The fromJSON() deserialization path in seroval handles Promise control nodes by operating on values taken from the general deserialization reference table without first verifying that those values are genuine internal promise resolver records. Attacker-controlled JSON can exploit this type confusion so that deserialization performs attacker-influenced side effects when plugins are enabled. In downstream frameworks that register plugins returning callable wrappers, this primitive can escalate to unintended server-side invocation and potential remote code execution. The fix adds an internal type check so deserialization aborts before operating on values that are not genuine resolver records.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted Seroval JSON with plugins enabled.

Background info

seroval is vulnerable to Deserialization of Untrusted Data in versions 0.13.0 - 1.5.2.

How to fix this

Upgrade the seroval library to the patch version.