All vulnerabilities

Servers and applications

CVE-2023-23918

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.

Severity
High 7.5
Published
23 Feb 2023
Last changed
24 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
14.21.3, 16.19.1, 18.14.1, 19.6.1
Sources
NVD

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 19.0.0 before 19.6.1
  • From 18.0.0 before 18.14.1
  • From 18.0.0 up to 18.11.0
  • From 16.0.0 before 16.19.1
All 7 release lines
  • From 14.0.0 up to 14.14.0
  • From 14.0.0 before 14.21.3
  • From 16.0.0 up to 16.12.0
  • From 16.0.0 before 16.19.1
  • From 18.0.0 up to 18.11.0
  • From 18.0.0 before 18.14.1
  • From 19.0.0 before 19.6.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-23918
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-23918