isolated-vm is a library for nodejs which gives you access to v8's Isolate interface. Versions of isolated-vm…
Historical advisory recorded 24 Oct 2026 17:17:33 UTC. Read the latest advisory.
nvd · CVE-2021-21413
Publishedisolated-vm is a library for nodejs which gives you access to v8's Isolate interface. Versions of isolated-vm before v4.0.0 have API pitfalls which may make it easy for implementers to expose supposed secure isolates to the permissions of the main nodejs isolate. Reference objects allow access to the underlying reference's full prototype chain. In an environment where the implementer has exposed a Reference instance to an attacker they would be able to use it to acquire a Reference to the nodejs context's Function object. Similar application-specific attacks could be possible by modifying the local prototype of other API objects. Access to NativeModule objects could allow an attacker to load and run native code from anywhere on the filesystem. If combined with, for example, a file upload API this would allow for arbitrary code execution. This is addressed in v4.0.0 through a series of related changes.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2021-21413
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-913
Original publisher date fields
published: 2021-03-30T23:15:14.190
lastModified: 2026-06-17T03:35:31.607
1 source CPE criteria · context only
- cpe:2.3:a:isolated-vm_project:isolated-vm:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON