Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
Open-source package vulnerability · Node.js

CVE-2026-106073: Node.js Permission Model bypass with fs.realpathSync

low

With the Node.js Permission Model enabled, fs.realpathSync() did not check filesystem read permission, so code could resolve paths it was denied, while the equivalent entry points (fs.realpathSync.native(), fs.promises.realpath(), fs.lstatSync(), fs.existsSync()) already denied access for the same paths. The fix adds the permission check to realpathSync.

Published Oct 21, 2026

Advisory details

From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.

With the Node.js Permission Model enabled, fs.realpathSync() did not check filesystem read permission, so code could resolve paths it was denied, while the equivalent entry points (fs.realpathSync.native(), fs.promises.realpath(), fs.lstatSync(), fs.existsSync()) already denied access for the same paths. The fix adds the permission check to realpathSync. Affected: Node.js 22.x before 22.23.4, 24.x before 24.22.1 and 26.x before 26.12.1. Fixed in Node.js 22.23.4, 24.22.1 and 26.12.1, released October 21, 2026.

Credited to 0xoroot.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

Coverage on the Beam blog

More Node.js vulnerabilities

All Node.js entries