{
  "threat_severity" : "Important",
  "public_date" : "2026-05-13T17:19:44Z",
  "bugzilla" : {
    "description" : "vm2: vm2: Remote code execution due to path restriction bypass via symlinks",
    "id" : "2477206",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2477206"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-59",
  "details" : [ "vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve() (which does not dereference symlinks) but module loading uses Node's native require() (which does), an attacker can load arbitrary host-realm modules and achieve remote code execution. This vulnerability is fixed in 3.11.0.", "A flaw was found in vm2 3.10.5. NodeVM require.root path checks use path.resolve() without dereferencing symlinks, while Node require() follows symlinks, allowing sandboxed code to load host modules outside the allowed root and achieve remote code execution. Fixed in 3.11.0." ],
  "statement" : "vm2 NodeVM is vulnerable to require.root bypass via filesystem symlinks, enabling sandboxed code to load arbitrary host-realm modules. An attacker with low privileges who can run code in a NodeVM with require restrictions and symlink-accessible paths may achieve remote code execution. Fixed in vm2 3.11.0.",
  "affected_release" : [ {
    "product_name" : "Red Hat Ansible Automation Platform 2.1",
    "release_date" : "2026-08-05T00:00:00Z",
    "advisory" : "RHSA-2026:50850",
    "cpe" : "cpe:/a:redhat:ansible_portal:2.1",
    "package" : "ansible-automation-platform/automation-portal:1785854226"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Developer Hub",
    "fix_state" : "Not affected",
    "package_name" : "rhdh/rhdh-hub-rhel9",
    "cpe" : "cpe:/a:redhat:rhdh:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-43998\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-43998\nhttps://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c" ],
  "name" : "CVE-2026-43998",
  "csaw" : false
}