Bug 2477206 (CVE-2026-43998) - CVE-2026-43998 vm2: vm2: Remote code execution due to path restriction bypass via symlinks
Summary: CVE-2026-43998 vm2: vm2: Remote code execution due to path restriction bypass...
Keywords:
Status: NEW
Alias: CVE-2026-43998
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-13 18:02 UTC by OSIDB Bzimport
Modified: 2026-06-16 22:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-13 18:02:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.