Description
A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.
CVSS Metrics
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- network
- Complexity
- low
- Privileges
- none
- User Action
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- none
- Availability
- none
- Weaknesses
- CWE-863CWE-863
Metadata
- Primary Vendor
- NODEJS
- Published
- 2/23/2023
- Last Modified
- 5/8/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
nodejs : node.jsnodejs : node.jsnodejs : node.jsnodejs : node.jsnodejs : node.jsnodejs : node.jsnodejs : node.js
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.