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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"nodejs:node.js": [
">= 14.0.0, < 14.21.3",
">= 14.0.0, <= 14.14.0",
">= 16.0.0, < 16.19.1",
">= 16.0.0, <= 16.12.0",
">= 18.0.0, < 18.14.1",
">= 18.0.0, <= 18.11.0",
">= 19.0.0, < 19.6.1"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-23918",
"id": "CVE-2023-23918",
"imported": "2026-12-02T14:45:39.768Z",
"modified": "2026-10-24T13:10:00.147Z",
"published": "2023-02-23T20:15:13.920Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-23918"
},
{
"html_url": "https://github.com/advisories/GHSA-33p5-m25c-cp6w",
"id": "GHSA-33p5-m25c-cp6w",
"imported": "2026-12-02T14:50:28.504Z",
"modified": "2025-03-12T18:33:46Z",
"published": "2023-02-23T21:30:16Z",
"url": "https://api.github.com/advisories/GHSA-33p5-m25c-cp6w"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-28000",
"id": "EUVD-2023-28000",
"imported": "2026-12-02T14:45:41.785Z",
"modified": "2025-05-08T16:15:23Z",
"published": "2023-02-23T00:00:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2023-28000"
}
]
}