{"id":"CVE-2026-44007","state":"PUBLISHED","title":"vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution","description":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.","publishedAt":"2026-05-13T17:33:19.799Z","updatedAt":"2026-09-07T12:05:07.822Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.1","status":"affected"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx","http://www.openwall.com/lists/oss-security/2026/05/05/11","https://access.redhat.com/security/cve/CVE-2026-44007","https://bugzilla.redhat.com/show_bug.cgi?id=2477198","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json","https://access.redhat.com/errata/RHSA-2026:50850"],"weaknesses":["CWE-284","CWE-1100"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44007.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44007","state":"PUBLISHED","datePublished":"2026-05-13T17:33:19.799Z","dateUpdated":"2026-09-07T12:05:07.822Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-04T21:24:36.505Z"},"containers":{"cna":{"title":"vm2: nesting: true bypasses require: false, allowing sandbox escape to arbitrary OS command execution","descriptions":[{"lang":"en","value":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1."}],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.1","status":"affected"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-13T17:33:19.799Z"},"source":{"advisory":"GHSA-8hg8-63c5-gwmx","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/05/11"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-13T17:45:33.625Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-15T03:55:57.981614Z","id":"CVE-2026-44007","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-15T09:58:32.221Z"}},{"title":"vm2: vm2: Arbitrary code execution via nested NodeVM bypass","descriptions":[{"lang":"en","value":"A flaw was found in vm2 (before 3.11.1). With nesting: true, sandbox code can require('vm2') regardless of outer require settings (including require: false), spawn an inner NodeVM with unrestricted require, and execute arbitrary OS commands on the host. Fixed in 3.11.1."}],"affected":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.1","packageName":"ansible-automation-platform/automation-portal","defaultStatus":"affected","versions":[{"version":"1785854226","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:ansible_portal:2.1"]},{"vendor":"Red Hat","product":"Red Hat Developer Hub","packageName":"rhdh/rhdh-hub-rhel9","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:rhdh:1"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-44007","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477198","name":"RHBZ#2477198","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50850","tags":["vendor-advisory","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"namespace":"https://access.redhat.com/security/updates/classification/","value":"Important"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1100","description":"Insufficient Isolation of System-Dependent Functions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat-SADP","orgId":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","dateUpdated":"2026-09-07T12:05:07.822Z"},"datePublic":"2026-05-13T17:33:19.799Z","solutions":[{"lang":"en","value":"RHSA-2026:50850: Red Hat Ansible Automation Platform 2.1"}],"timeline":[{"lang":"en","time":"2026-05-13T18:01:46.215Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-05-13T17:33:19.799Z","value":"Made public."}],"x_adpType":"supplier","x_generator":{"engine":"sadp-cli 1.0.0"}}]}}}