CVE-2026-92936

Source
https://cve.org/CVERecord?id=CVE-2026-92936
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92936.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-92936
Aliases
  • GHSA-x6m4-chr9-cg97
Published
2026-09-17T13:46:01Z
Modified
2026-09-19T03:47:29Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N CVSS Calculator
Summary
vm2 3.11.0 before 3.11.7 Information Disclosure via Error Stack
Details

vm2 versions 3.11.0 through 3.11.6 leak absolute host filesystem paths to sandboxed code through error stack formatting. Attacker-supplied code can force the host-realm source transformer to throw a SyntaxError (for example by calling eval with malformed source) and then read the error's .stack property; the bridge forwards the .stack read to the host-realm formatter, bypassing the sandbox-side host-path redaction introduced for GHSA-v27g-jcqj-v8rw. The returned stack string discloses absolute paths from vm2, Node.js internals, and the embedding application's own source tree, along with host function names. Default new VM() and new NodeVM() configurations are affected without any special options, and the issue persists when string eval is disabled because the host-side transformer throws before eval is handled. The impact is information disclosure only; no code execution results. Fixed in vm2 3.11.7.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-209"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92936.json"
}
References

Affected packages

Git / github.com/patriksimek/vm2

Affected ranges

Type
GIT
Repo
https://github.com/patriksimek/vm2
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "3.11.0"
        },
        {
            "fixed":  "3.11.7"
        },
        {
            "fixed":  "3.11.6"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

3.*
3.11.6
v3.*
v3.11.0
v3.11.1
v3.11.2
v3.11.3
v3.11.4
v3.11.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92936.json"