Skip to content
OpenAdvisories
Low · 2.5 CVE-2026-123829 EUVD-2026-123678GHSA-fxj5-xgw6-cx7g

A Permission Model bypass in Node.js recursive file watching discloses the names of files and directories the process is not permitted to r…

Published Nov 11, 2026 · Assigned by openjs

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 products

VendorProductAffectedFixed
nodejs Node 23.0.0 <24.22.3 —
nodejs Node 25.0.0 <26.13.1 —
nodejs Node 0.0.0 <22.23.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs No fix yet —
Debian 13 nodejs No fix yet —
Debian 12 nodejs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nodejs No fix yet —
Ubuntu 26.04 LTS nodejs No fix yet —
Ubuntu 24.04 LTS nodejs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 14.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs22 +6 1:22.23.5-2.3.2.3.1.hum1 RHSA-2026:99433
Red Hat Hardened Images 1 nodejs22-npm 1:10.9.9-1.22.23.5.2.3.2.3.1.hum1 RHSA-2026:99433
Red Hat Hardened Images 1 nodejs24 +5 1:24.22.3-0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs24-npm 2:11.19.1-1.24.22.3.0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs24-npm-bin 2:24.22.3-0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs26 +6 1:26.13.1-0.1.hum1 RHSA-2026:99436
Red Hat Hardened Images 1 nodejs26-npm 1:11.20.0-1.26.13.1.0.1.hum1 RHSA-2026:99436
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 24.22.3-r0 —
Alpine v3.24 nodejs-current 26.13.1-r0 —
Alpine v3.23 nodejs 24.22.3-r0 —
Alpine v3.22 nodejs 22.23.5-r0 —
Alpine v3.21 nodejs 22.23.5-r0 —

Advisories 5

References