CVE-2026-123829

NameCVE-2026-123829
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1153855

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nodejs (PTS)bookworm18.20.4+dfsg-1~deb12u2vulnerable
bookworm (security)18.20.4+dfsg-1~deb12u3vulnerable
trixie (security), trixie20.19.2+dfsg-1+deb13u3vulnerable
forky24.22.2+dfsg+~cs24.19.2-1vulnerable
sid24.22.3+dfsg+~cs24.19.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nodejssource(unstable)24.22.3+dfsg+~cs24.19.2-11153855

Notes

https://nodejs.org/en/blog/vulnerability/november-2026-security-releases#permission-model-bypass-in-recursive-fswatch-leaks-names-of-denied-descendants-cve-2026-123829---low

Search for package or bug name: Reporting problems