CVE-2023-23918

published 23 Feb 2023 · updated 8 May 2025

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…

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 10.*, 11.*, 12.* and 13 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.*, >=11.0 <11.*, >=12.0 <12.*, >=13.0 <13.*, >=14.0 <14.21.3, >=15.0 <15.*, >=16.0 <16.19.1, >=17.0 <17.*, >=18.0 <18.14.1, >=19.0 <19.6.1, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.*, 11.*, 12.*, 13.*, 14.21.3, 15.*, 16.19.1, 17.*, 18.14.1, 19.6.1, 4.*, 5.*, 6.*, 7.*, 8.*, 9.*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-23918 severity on Zeptric[![CVE-2023-23918](https://zeptric.io/badge/cve/CVE-2023-23918.svg)](https://zeptric.io/cve/CVE-2023-23918)