JLSEC-2026-1928: A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3...
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.20.2+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 19.6.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.14.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.19.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.21.3
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is affected by this issue?
Only users who enabled Node.js experimental permissions with the --experimental-policy option are affected. Systems not using that option are not affected by this bypass.
What does an attacker need to exploit the vulnerability?
The attacker needs a way to execute code in the affected Node.js process. They can then use process.mainModule.require() to access modules that the experimental permissions policy was intended to prevent.
Which Node.js versions contain the issue?
Affected versions are Node.js releases earlier than 19.6.1, 18.14.1, 16.19.1, and 14.21.3 in their respective release lines.
How can I determine whether my deployment is exposed?
Check whether the Node.js process is started with --experimental-policy and whether its version is below the fixed release for its major version line. If both conditions apply, the process is exposed to the permissions bypass.