Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

Node.js policy can be bypassed via internal load

published 1 day ago
Summary

If you are using the experimental policy feature in Node.js versions 16, 18 or 20, an internal function called Module._load() can be tricked into loading code that is not listed in your policy.json file. This means a malicious module could be run even when the policy should block it. Disable the experimental policy feature or upgrade to a version where the issue is fixed to protect your applications.

What to do
  • Update juliabinarywrappers nodejs_16_jll to version 16.20.2+0.
Affected software
Ecosystem VendorProductAffected versions
Julia juliabinarywrappers nodejs_16_jll < 16.20.2+0
Fix: upgrade to 16.20.2+0
Julia juliabinarywrappers nodejs_18_jll All versions
Julia juliabinarywrappers libnode_jll >= 16.14.0+0
Original advisory text
The use of `Module._load()` can bypass the policy mechanism and require modules outside of the...
The use of `Module._load()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module.

This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x.

Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.8 Critical
Timeline
Published2 Dec 2026
Updated2 Dec 2026
First seen2 Dec 2026
Sources
Track software like this
Free during beta