GHSA-hc6q-4vvg-jf79

Suggest an improvement
Source
https://github.com/advisories/GHSA-hc6q-4vvg-jf79
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-hc6q-4vvg-jf79/GHSA-hc6q-4vvg-jf79.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hc6q-4vvg-jf79
Withdrawn
2026-10-01T15:38:40Z
Published
2026-09-17T15:32:16Z
Modified
2026-10-01T15:45:06Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: vm2 CLI provides no sandbox isolation - host-realm require() is reachable from sandboxed scripts
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-jxxv-8r27-vm4p. This link is maintained to preserve external references.

Original Description

vm2 before 3.11.7 contains a sandbox escape vulnerability in the CLI tool that allows attackers to execute arbitrary code in the host Node.js process. Attackers can supply a malicious script file to the vm2 CLI that uses require(__filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and child_process.

Database specific
{
    "cwe_ids": [
        "CWE-453"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-01T15:38:40Z",
    "nvd_published_at": "2026-09-17T14:18:00Z",
    "severity": "CRITICAL"
}
References

Affected packages

npm / vm2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
3.11.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-hc6q-4vvg-jf79/GHSA-hc6q-4vvg-jf79.json"