2.5low
Node.js is vulnerable to Permission Model file-name disclosure via recursive fs.watch
- Severity
- 2.5low CVSS:3.0 by openjs
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openjs
- Also known as
- BIT-NODE-2026-123829BIT-NODE-MIN-2026-123829
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodejs node | from 0.0.0 before 22.23.5, from 23.0.0 before 24.22.3, from 25.0.0 before 26.13.1 | CVE List |
| node (Bitnami) | before 22.23.5, from 23.0.0 before 24.22.3, from 25.0.0 before 26.13.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 22.23.5, from 23.0.0 before 24.22.3, from 25.0.0 before 26.13.1 | Bitnami Vulnerability Database |
All scores
| openjs | 2.5low CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123829 changed 2026-11-16 | CVE Terms of Use |
| NVD | CVE-2026-123829 changed 2026-11-16 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2026-123829 changed 2026-11-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2026-123829 changed 2026-11-27 | Apache-2.0 |