By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Critical vm2 Node.js Flaw Allows Sandbox Escape and Arbitrary Code Execution
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Critical vm2 Node.js Flaw Allows Sandbox Escape and Arbitrary Code Execution
Computing

Critical vm2 Node.js Flaw Allows Sandbox Escape and Arbitrary Code Execution

News Room
Last updated: 2026/01/28 at 10:05 AM
News Room Published 28 January 2026
Share
Critical vm2 Node.js Flaw Allows Sandbox Escape and Arbitrary Code Execution
SHARE

Ravie LakshmananJan 28, 2026Vulnerability / Open Source

A critical sandbox escape vulnerability has been disclosed in the popular vm2 Node.js library that, if successfully exploited, could allow attackers to run arbitrary code on the underlying operating system.

The vulnerability, tracked as CVE-2026-22709, carries a CVSS score of 9.8 out of 10.0 on the CVSS scoring system.

“In vm2 for version 3.10.0, Promise.prototype.then Promise.prototype.catch callback sanitization can be bypassed,” vm2 maintainer Patrik Simek said. “This allows attackers to escape the sandbox and run arbitrary code.”

vm2 is a Node.js library used to run untrusted code within a secure sandboxed environment by intercepting and proxying JavaScript objects to prevent sandboxed code from accessing the host environment.

Cybersecurity

The newly discovered flaw stems from the library’s improper sanitization of Promise handlers, which creates an escape vector that results in the execution of arbitrary code outside the sandbox boundaries.

“The critical insight is that async functions in JavaScript return `globalPromise` objects, not `localPromise` objects. Since `globalPromise.prototype.then` and `globalPromise.prototype.catch` are not properly sanitized (unlike `localPromise`),” Endor Labs researchers Peyton Kennedy and Cris Staicu said.

While CVE-2026-22709 has been addressed in vm2 version 3.10.2, it’s the latest in a steady stream of sandbox escapes that have plagued the library in recent years. This includes CVE-2022-36067, CVE-2023-29017, CVE-2023-29199, CVE-2023-30547, CVE-2023-32314, CVE-2023-37466, and CVE-2023-37903.

The discovery of CVE-2023-37903 in July 2023 also led Simek to announce that the project was being discontinued. However, these references have since been removed from the latest README file available on its GitHub repository. The Security page has also been updated as of October 2025 to mention that vm2 3.x versions are being actively maintained.

However, vm2’s maintainer has also acknowledged that new bypasses will likely be discovered in the future, urging users to make sure that they keep the library up to date and consider other robust alternatives, such as isolated-vm, for stronger isolation guarantees.

Cybersecurity

“Instead of relying on the problematic vm model, the successor to vm2, isolated-vm relies on V8’s native Isolate interface, which offers a more solid foundation, but even then, the maintainers of vm2 stress the importance of isolation and actually recommend Docker with logical separation between components,” Semgrep said.

In light of the criticality of the flaw, users are recommended to update to the most recent version (3.10.3), which comes with fixes for additional sandbox escapes.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Google Introduces TranslateGemma Open Models for Multilingual Translation Google Introduces TranslateGemma Open Models for Multilingual Translation
Next Article New anti phone-snatching features launch following spate of mobile thefts New anti phone-snatching features launch following spate of mobile thefts
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Momenta touts ADAS deals with Toyota and more amid global push · TechNode
Momenta touts ADAS deals with Toyota and more amid global push · TechNode
Computing
Is Creator Studio Apple’s Trojan Horse Into Adobe’s Market?
Is Creator Studio Apple’s Trojan Horse Into Adobe’s Market?
News
I Just Wanted Code Templates, but I Ended Up Writing a WebStorm Plugin | HackerNoon
I Just Wanted Code Templates, but I Ended Up Writing a WebStorm Plugin | HackerNoon
Computing
Disrupt 2026: +1 passes are almost gone and only 3 days remain |  News
Disrupt 2026: +1 passes are almost gone and only 3 days remain | News
News

You Might also Like

Momenta touts ADAS deals with Toyota and more amid global push · TechNode
Computing

Momenta touts ADAS deals with Toyota and more amid global push · TechNode

2 Min Read
I Just Wanted Code Templates, but I Ended Up Writing a WebStorm Plugin | HackerNoon
Computing

I Just Wanted Code Templates, but I Ended Up Writing a WebStorm Plugin | HackerNoon

16 Min Read
An ‘extinction-level event’ for startups: Seattle tech leaders fight new state tax proposal
Computing

An ‘extinction-level event’ for startups: Seattle tech leaders fight new state tax proposal

7 Min Read
Raspberry Pi Preparing To Introduce A Smart Display Module
Computing

Raspberry Pi Preparing To Introduce A Smart Display Module

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?