JLSEC-2026-1932: The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism...
The use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.
Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js
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
julia/NodeJS_18_jllto a version that resolves this vulnerability.Fixed in 18.16.1+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
The issue affects users of the experimental Node.js policy mechanism on active v16, v18, and v20 release lines. The listed affected software includes julia/nodejs_16_jll, julia/nodejs_18_jll, and julia/libnode_jll.
What does an attacker need to exploit it?
The vulnerability is reachable through use of process.mainModule.__proto__.require(). The provided information does not state any authentication, user-interaction, or other preconditions beyond use of the experimental policy mechanism.
What is the security impact?
An attacker can bypass the policy mechanism and load modules that are outside the policy.json definition. The supplied vector rates impact to integrity as high, with no stated confidentiality or availability impact.