CVE-2023-23918 in Nodejs Node.Js
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 wh...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nodejs | Node.Js | ≥ 14.0.0, < 14.21.3 ≥ 16.0.0, < 16.19.1 ≥ 18.0.0, < 18.14.1 ≥ 19.0.0, < 19.6.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-23918 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-061503-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2023-02-23 |
| Last modified | 2026-10-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A privilege escalation vulnerability in Node.js versions prior to 19.6.1, 18.14.1, 16.19.1, and 14.21.3 allows bypassing the experimental Permissions feature, enabling unauthorized module access.
Attackers can exploit this vulnerability by using process.mainModule.require() to access non-authorized modules, provided the experimental permissions option is enabled with --experimental-policy.
Questions
What is CVE-2023-23918?
A privilege escalation vulnerability in Node.js versions prior to 19.6.1, 18.14.1, 16.19.1, and 14.21.3 allows bypassing the experimental Permissions feature, enabling unauthorized module access.
What is the CVSS score for CVE-2023-23918?
CVE-2023-23918 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.0%.
Is CVE-2023-23918 actively exploited?
No confirmed active exploitation of CVE-2023-23918 as of 2026-10-31.
How do I remediate CVE-2023-23918?
Priority: HIGH. Advisory: https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/ PSIRT: [email protected]
What systems are affected by CVE-2023-23918?
CVE-2023-23918 affects Nodejs Node.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Nodejs","product":"Node.Js","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-24.