CVE-2026-123829
Node.js is vulnerable to Permission Model file-name disclosure via recursive fs.watch
Description
A Permission Model bypass in Node.js recursive file watching discloses the names of files and directories the process is not permitted to read. On macOS and Windows, fs.watch() and fs.promises.watch() in recursive mode are backed by the native libuv watcher: FSEventWrap::Start checks kFileSystemRead only once, on the watched root, and FSEventWrap::OnEvent then forwards every filename libuv reports (relative paths at any depth) to the JavaScript callback without checking that each path is covered by the read grant. Code running under --permission with an exact read grant on a directory can therefore learn names such as sub/secret.txt even though readdir on that subdirectory is denied. The flaw exposes names and timing metadata, not file contents, and requires macOS or Windows plus files created under the watched directory by another actor. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
INFO
Published Date :
Nov. 11, 2026, 6:12 p.m.
Last Modified :
Nov. 11, 2026, 6:12 p.m.
Remotely Exploit :
No
Source :
openjs
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.0 | LOW | ce714d77-add3-4f53-aff5-83d477b104bb | ||||
| CVSS 3.0 | LOW | MITRE-CVE |
Solution
- Update Node.js to a patched version.
- Ensure file system access controls are strict.
- Monitor file access events for anomalies.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-123829 vulnerability anywhere in the article.