CVE-2023-32006

The use of `module.constructor.createRequire()` 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.

Score
CVSS 3.1 8.8 High
Status
Modified - support@hackerone.com
Published
2023-08-15
Last modified
2025-05-08
Weaknesses
CWE-693

Affected products

References