vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, handleException() in lib/setup-sandbox.js sanitizes SuppressedError.error, SuppressedError.suppressed, and AggregateError.errors but does not sanitize Error.cause, allowing sandbox code to obtain a powerful host object such as process from an embedder-exposed host function that throws an error with that object as its cause and then execute arbitrary host commands. This issue is fixed in version 3.11.6.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-693"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47686.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.11.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "7e3faaf550f4ab975bf4cdde183fcec49b056d8e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "3.11.6",
"range": [
{
"fixed": "a5b31cd9c01b37139aa9c71df1c691a6d1b440f9"
}
],
"source": "REFERENCES_TAG"
}
]
}