DEBIAN-CVE-2026-123829: Low severity debian/nodejs vulnerability

Published Nov 11, 2026
·
Updated

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 Software

3 affected components
debian/nodejs*
debian/nodejs*
debian/nodejs*

Event History

Nov 11, 2026
CVE Published
via OSV·07:17 PM
Data Sourced
via OSV·07:17 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects Node.js 22.x, 24.x, and 26.x on macOS or Windows when recursive fs.watch() or fs.promises.watch() is used under --permission. Linux is not identified as affected by the provided data.

2

What conditions are required for exploitation?

An attacker needs code execution with Node.js permissions enabled and an exact read grant for the watched root directory, while lacking read permission for a subdirectory. Another actor must create files beneath that watched directory so their names and event timing are reported by the recursive watcher.

3

Is file content exposed?

No. The described impact is limited to filenames, directory names, and timing metadata reported by watcher events; it does not disclose file contents.

4

What can be done if patching is not immediately possible?

Avoid recursive fs.watch() and fs.promises.watch() on macOS and Windows where permission boundaries between the watched root and descendant directories are relied upon. Do not grant untrusted code permission to watch directory trees that may contain inaccessible subdirectories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203