CVE-2023-23918

HIGH CVSS 3.1: 7.5 EPSS 2.02%
Updated Oct 24, 2026
Node.js
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 14.0.0 — 19.6.1
Fixed In 14.21.3
Type CWE-863 (Incorrect Authorization)
Vendor Node.js
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 7

Configuration From (including) Up to (excluding)
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
14.0.0 <= 14.14.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
14.0.0 14.21.3
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
16.0.0 <= 16.12.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
16.0.0 16.19.1
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
18.0.0 <= 18.11.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
18.0.0 18.14.1
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
19.0.0 19.6.1