Intel

AIKIDO-2026-830881

seroval-plugins is vulnerable to Type Confusion

GHSA-8q2v-cx68-9v9hPublished Oct 5, 2026
October 5, 2026

65

CVE Score

Medium

Type Confusion

Are you affected? Scan for Free

TL;DR

AbortSignalPlugin.deserialize in seroval-plugins passes a deserialized reference table value to PROMISE_TO_ABORT_SIGNAL as a Promise without checking that it is one, and that helper calls promise.then(abort, abort) synchronously during fromJSON. A crafted Reference node that points at an application object with a then method causes that method to run during deserialization. That then method only receives seroval's own bound AbortController.abort, so the impact is weaker than the ReadableStream and Promise resolver confusion in the same package. The fix checks that the value is an actual Promise before calling then on it.

How do I fix this?

Upgrade the seroval-plugins library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use seroval-plugins' AbortSignalPlugin to deserialize untrusted payloads.

Versions

1.5.0 - 1.6.4

Fixed in 1.6.5

Background info

seroval-plugins is vulnerable to Type Confusion in versions 1.5.0 - 1.6.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea