StraitOfVuln
Latest / CVE-2023-23918

CVE-2023-23918

HighCVSS 7.5 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2023-23918
Published / updated
23 Feb 2023, 20:15 UTC · last modified 24 Oct 2026, 13:10 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
Affected products
Node.Js
Affected versions
Node.Js: ≥ 14.0.0, ≤ 14.14.0
Node.Js: ≥ 14.0.0, < 14.21.3
Node.Js: ≥ 16.0.0, ≤ 16.12.0
Node.Js: ≥ 16.0.0, < 16.19.1
Node.Js: ≥ 18.0.0, ≤ 18.11.0
Node.Js: ≥ 18.0.0, < 18.14.1
Node.Js: ≥ 19.0.0, < 19.6.1
Fixed versions
node.js 14.21.3, node.js 16.19.1, node.js 18.14.1, node.js 19.6.1
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
2.02% probability of exploitation in the next 30 days · 82% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (node.js 14.21.3, node.js 16.19.1, node.js 18.14.1, node.js 19.6.1) per the vendor advisory.
Source (CNA)
support@hackerone.com