Home › CVE › JavaScript
CVE-2026-123829 — nodejs node
One of 15 nodejs node vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWindowsmacOSWebOperating systemsVulnerabilitiesResearch article
Node.js Permission Model Bypass (CVE-2026-123829) Leaks File and Directory Names via Recursive fs.watch()
| CVE | CVE-2026-123829 |
|---|---|
| Vendor and product | nodejs node |
| Published | November 12, 2026 07:11 UTC |
| Research cut-off | November 12, 2026 05:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-11); CISA KEV catalog |
Executive summary
CVE-2026-123829 is a low-severity information disclosure flaw in Node.js's experimental Permission Model, affecting recursive file watching via fs.watch() and fs.promises.watch() on macOS and Windows [1]. The underlying libuv-backed watcher checks the read permission only once against the watched root directory, then forwards all subsequently reported filenames at any depth without re-validating each against the granted read scope, allowing code with a narrow read grant to learn the names of files and subdirectories it cannot otherwise list or read [1]. NVD scored it CVSS 3.0 2.5 (LOW), vector AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N, reflecting local access, high attack complexity, low privileges, and limited confidentiality impact [1]. Affected versions span all Node.js releases prior to 22.23.5, 24.22.3, and 26.13.1, across the 22.x, 24.x, and 26.x release lines; fixes are published in those respective versions [1]. Exploitation requires an attacker-controlled or observed directory under the watched path containing entries created by another actor, and is limited to disclosing names and timing metadata rather than file contents [1]. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of 2026-11-12, though absence from KEV does not confirm no exploitation has occurred [2]. Organizations running Node.js with the Permission Model enabled and using recursive fs.watch() on macOS or Windows should prioritize upgrading to the fixed release lines.
Key points
- A one-time root-level permission check in Node.js's native recursive file-watch binding (FSEventWrap) fails to re-validate nested filenames against the Permission Model's read grant, leaking file/directory names and timing metadata on macOS and Windows [1].
- Scored CVSS 3.0 2.5 (LOW), vector AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N; classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) [1].
- Affects Node.js releases before 22.23.5, 24.22.3, and 26.13.1 across the 22.x, 24.x, and 26.x lines; fixes are published in those versions [1].
- Exploitation requires the Permission Model enabled, recursive fs.watch()/fs.promises.watch() in use, a macOS or Windows host, and another actor creating content beneath the watched directory [1]; disclosure is limited to names and metadata, not file content [1].
- Not listed in the CISA KEV catalog as of 2026-11-12; no confirmed in-the-wild exploitation or public PoC is documented in the reviewed sources, though catalog absence is not proof of non-exploitation [2].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-123829 [1] |
| Vendor | OpenJS Foundation / Node.js project [1] |
| Product | Node.js |
| Component | fs.watch() / fs.promises.watch() recursive mode, Permission Model, libuv FSEventWrap |
| Affected platform | macOS and Windows (the native recursive watcher implementation on these platforms) [1] |
| Published | 2026-11-11T19:17:32 UTC [1] |
| Last modified | 2026-11-11T19:17:32 UTC [1] |
| Record status | Received [1] |
| CWE | CWE-200, Exposure of Sensitive Information to an Unauthorized Actor [1] |
| CVSS | 3.0 base score 2.5, severity LOW, vector AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N, scored by a Secondary scorer (ce714d77-add3-4f53-aff5-83d477b104bb) [1] |
| Related identifiers | Fixed versions 22.23.5, 24.22.3, 26.13.1; vendor advisory references at cna.openjsf.org and nodejs.org November 2026 security releases blog [1] |
Only one CVSS vector, from NVD's Secondary scorer, is present in the reviewed evidence; no vendor-issued CVSS score is included in the pack, so no cross-source scoring discrepancy can be assessed.
Technical background
Node.js's Permission Model is an experimental, opt-in security feature (enabled via the --permission command-line flag) that restricts a running process's ability to access the file system, spawn child processes, use worker threads, or load addons unless explicitly granted [1]. Within the file-system boundary, the model supports fine-grained read and write grants scoped to specific paths, intended to let a process operate under least privilege even when executing untrusted or semi-trusted code.
fs.watch() and fs.promises.watch() are Node.js APIs that let JavaScript code subscribe to file system change notifications. In recursive mode, the watcher monitors not only the specified directory but all of its subdirectories and files beneath it. On macOS and Windows, this recursive capability is implemented through the native libuv library's platform-specific event backends, exposed to Node.js internals through a binding described in the CVE record as FSEventWrap, which has a Start function that initializes the watch and an OnEvent callback that libuv invokes whenever a change is detected [1].
The trust boundary at issue is between the Permission Model's read-grant enforcement and the recursive watcher's event-delivery path: a security check made once, at watcher setup time, is expected to remain valid for every event the watcher later reports, but the architecture does not re-apply that check per event or per path.
Vulnerability description
The flaw violates confidentiality by allowing disclosure of file and directory names that the Permission Model's read grant is supposed to keep hidden [1]. The flawed component is the native recursive-watch binding (FSEventWrap) used by fs.watch()/fs.promises.watch() on macOS and Windows [1]. FSEventWrap::Start verifies the kFileSystemRead permission exactly once, against the root path being watched, when the watch is established [1]. Thereafter, FSEventWrap::OnEvent relays every filename libuv surfaces — including relative paths describing files and directories nested arbitrarily deep beneath the watched root — directly to the JavaScript callback, with no per-path permission re-check [1].
Consequently, a process running under --permission with a read grant limited to an exact directory can observe names like sub/secret.txt through watch events, even though a direct readdir call on that same subdirectory would be correctly denied by the Permission Model [1]. The disclosure is confined to names and change timing (metadata about when and what changed); the vulnerability does not expose file contents, and it does not grant read, write, or execute access beyond what the Permission Model already permits for actual file operations [1]. For the exposure to matter in practice, the target environment must be macOS or Windows, and another party must create, rename, or modify entries inside the directory being watched so that the watcher emits events referencing them [1]. The evidence does not establish any impact on Linux or other platforms, since the flaw is specific to the libuv-backed native watcher used on macOS and Windows [1].
Root cause analysis
Confirmed (per S1): the root cause is a one-time, root-level permission check combined with an event-forwarding path that lacks per-event authorization. FSEventWrap::Start evaluates kFileSystemRead against the watched directory at the moment the watch begins, but the subsequent OnEvent handler treats every event libuv reports as already authorized, without verifying that the specific nested path disclosed in that event falls within the scope the caller is actually permitted to read [1].
Analyst assessment: this pattern reflects a mismatch between a security control designed for one-time authorization semantics (suitable for operations like opening a single file) and a streaming, long-lived API (a recursive watcher) that continuously emits new identifiers discovered dynamically as the underlying file system changes. A single check at setup time cannot anticipate every path a recursive watch will later report, so the control's design assumption — that root-level authorization is sufficient for all downstream events — does not hold for this API shape. The sources do not describe why this gap went undetected during the Permission Model's development or review, so the development-process root cause remains unestablished.
Technical mechanics
- A Node.js process is launched with the Permission Model active via the
--permissionflag, and is granted read access to a specific directory path, but not to its subdirectories individually [1]. - Application code calls
fs.watch()orfs.promises.watch()on that directory with the recursive option enabled, on a macOS or Windows host [1]. - The native binding's
FSEventWrap::Startfunction executes, checking thekFileSystemReadpermission against the root path supplied to the watch call; this check passes because the root path matches the grant [1]. - The watch is established and handed off to the platform's libuv-backed watcher backend, which begins monitoring for file system change events anywhere beneath the root, including nested subdirectories [1].
- A separate actor (another process, user, or component with its own, possibly broader, access) creates, renames, or deletes a file or subdirectory somewhere beneath the watched root — for example, inside a subdirectory the watching process cannot itself list [1].
- libuv detects the change and invokes
FSEventWrap::OnEventwith the relative path of the changed entry [1]. OnEventforwards this relative path to the registered JavaScript callback without re-validating that the specific nested path is covered by the original read grant [1].- The watching process's JavaScript code receives the filename (e.g.,
sub/secret.txt) and its event type/timing, even though a directfs.readdir()orfs.readFile()call against that nested path would be rejected by the Permission Model [1].
[Permission Model grant: read on /watched-dir only]
|
v
fs.watch('/watched-dir', recursive:true) --> FSEventWrap::Start
| (checks kFileSystemRead on /watched-dir root ONLY)
v
[watch established]
|
v
Other actor creates /watched-dir/sub/secret.txt
|
v
libuv reports change --> FSEventWrap::OnEvent
| (NO per-path permission re-check)
v
JS callback receives: 'sub/secret.txt' (name leaked)
This diagram reflects the mechanism as described in the CVE record [1]; it is not hypothetical, though exact code behaviour beyond the described functions is not detailed in the evidence.
The security control that should have prevented this is per-event, per-path enforcement of the kFileSystemRead grant inside OnEvent, mirroring the check already performed once in Start [1]; this control is confirmed absent from the vulnerable versions [1].
Attack surface and exploitation prerequisites
| Factor | Detail | Basis |
|---|---|---|
| Access vector | Local (AV:L) — exploitation occurs from code already running on the host | CVSS vector [1] |
| Attack complexity | High (AC:H) | CVSS vector [1] |
| Privileges required | Low (PR:L) — the watching process must hold some Permission Model read grant | CVSS vector [1] |
| User interaction | None (UI:N) | CVSS vector [1] |
| Platform requirement | macOS or Windows only (native libuv watcher backends on these OSes) | Description [1] |
| Feature dependency | Permission Model must be enabled (--permission) and recursive mode of fs.watch()/fs.promises.watch() must be used | Description [1] |
| Environmental dependency | A separate actor must create or modify files/directories beneath the watched root during the watch period | Description [1] |
| Scope | Unchanged (S:U) | CVSS vector [1] |
The CVSS vector indicates local access and low privilege, but the evidence pack does not describe a specific real-world deployment scenario (e.g., multi-tenant hosting, sandboxed plugin execution); prerequisites beyond what the vector and description state are not established.
Exploitation scenarios and attack lifecycle
Confirmed scenario (per S1): A Node.js application enables the Permission Model and grants a subcomponent or plugin read access strictly to one directory, intending to prevent that code from discovering the structure of sibling or nested directories it should not see. If that subcomponent sets up a recursive fs.watch() on its permitted directory, and another part of the system (or another user on a shared host) later writes files into subdirectories beneath that root, the restricted code can passively observe the names of those new files and directories through watch events, despite being unable to list them directly [1]. The post-exploitation outcome is limited to the attacker/restricted-code learning naming conventions, file existence, directory structure, and change timing — information that could inform further reconnaissance (e.g., guessing the existence of credential files, configuration files, or sensitive project structures) even though the content remains inaccessible [1].
Defensive opportunities: because the flaw requires the watching code to already be running with a Permission Model grant and recursive watch enabled, organizations can reduce exposure by auditing which processes use recursive fs.watch() under restricted permission grants, and by reviewing the directory structures those grants expose. Monitoring for unexpected recursive watch usage in security-sensitive contexts is also a defensive opportunity, though the evidence does not provide specific log signatures for this (see Indicators of compromise).
No chained exploitation (e.g., combining this disclosure with another vulnerability to escalate to content access) is documented in the reviewed sources; any such chain would be illustrative only and is not described in the evidence.
Impact analysis
| Dimension | Demonstrated impact | Plausible downstream consequence |
|---|---|---|
| Confidentiality | Low — disclosure of file/directory names and change timing beneath a watched root, bypassing the read grant's intended scope [1] | Reconnaissance aiding further targeting if sensitive information is encoded in filenames |
| Integrity | None (I:N per CVSS vector) [1] | None established |
| Availability | None (A:N per CVSS vector) [1] | None established |
| Authentication/Authorization | Not directly affected; the Permission Model's intended authorization boundary for read access is bypassed for name disclosure only, not for content access or other operations [1] | None established beyond the documented name-disclosure bypass |
| Privilege boundaries | The Permission Model's directory-scoped read grant is circumvented for metadata (names), not elevated to broader file access [1] | None established |
| Data and privacy | Filenames themselves could constitute sensitive data (e.g., names referencing a person, case, or secret) in some deployments | Not established by the reviewed sources for any specific deployment |
| Business operations | Not established by the reviewed sources | Not established |
| Regulatory/contractual | Not established by the reviewed sources | Not established |
Affected products and versions
| Vendor | Product | Affected versions | Platform | Fixed version | Source/confidence |
|---|---|---|---|---|---|
| OpenJS Foundation | Node.js | ≥ 0.0.0, < 22.23.5 | macOS, Windows (flaw is platform-specific; version range applies to the 22.x line and earlier) | 22.23.5 | NVD CVE record, vendor-published range [1] |
| OpenJS Foundation | Node.js | ≥ 23.0.0, < 24.22.3 | macOS, Windows | 24.22.3 | NVD CVE record, vendor-published range [1] |
| OpenJS Foundation | Node.js | ≥ 25.0.0, < 26.13.1 | macOS, Windows | 26.13.1 | NVD CVE record, vendor-published range [1] |
The description states the issue affects release lines 22, 24, and 26 (consistent with the version ranges above, where the 23.x and 25.x lines are odd-numbered/non-LTS lines leading into the fixed 24.x and 26.x lines respectively) [1]. The record does not indicate any exclusion for specific build configurations, but it does confine applicability to macOS and Windows; the evidence does not state whether Linux builds using different native watcher backends are unaffected by name, only that the described flaw is specific to the FSEventWrap implementation used on those two platforms [1]. No information is given about whether the Permission Model being disabled (the default state) eliminates exposure — though logically, since the flaw concerns bypassing a permission grant, a process without the Permission Model enabled has no read restriction to bypass in the first place; this inference is an analyst assessment, not stated directly in the sources.
Exploitation and threat intelligence status
Exploitation in the wild: not confirmed by the reviewed sources. CVE-2026-123829 does not appear in the CISA KEV catalog as of the catalog's 2026-11-12 state [2]. CISA explicitly notes that catalog absence does not prove exploitation has not occurred [2].
Public proof-of-concept availability: not established by the reviewed sources; no exploit code or demonstration is referenced in the evidence pack.
Threat actor attribution, campaigns, or sector targeting: not established by the reviewed sources; no such reporting is present in the pack.
Evidence dates: the NVD record was published and last modified 2026-11-11T19:17:32 UTC [1]; the KEV catalog check was dated 2026-11-12 [2]. Both are current as of the stated research cut-off, 2026-11-12T05:50:21 UTC.
Indicators of compromise
No file hashes, filenames, domains, IP addresses, URLs, process names, command lines, log event identifiers, or network patterns are provided by the reviewed sources for this CVE. Organizations should not construct or rely on indicators for this vulnerability beyond what is confirmed here, since none are documented; any such indicator would be fabricated and is therefore omitted.
Detection and exposure assessment
- Inventory Node.js versions in use across all hosts and containers. Run
node --versionornode -von each system where Node.js is installed; compare the reported version against the fixed versions 22.23.5, 24.22.3, and 26.13.1 [1]. A version below the applicable fixed release for its line indicates the binary is vulnerable to this flaw, subject to the platform and feature conditions below. - Determine platform applicability: this flaw affects macOS and Windows deployments only, per the native watcher implementation involved [1]. Linux-only deployments are not established as exposed by the reviewed evidence.
- Identify whether the Permission Model is in active use: search process launch configurations, startup scripts, and container entrypoints for the
--permissionflag. Absence of this flag means the Permission Model's read-grant enforcement — and therefore its bypass — is not in effect for that process. - Audit application and dependency source code for calls to
fs.watch()orfs.promises.watch()with therecursive: trueoption, particularly within code paths that also operate under a restrictive Permission Model read grant. This requires source or dependency tree review; a simple version check does not confirm whether the vulnerable API pattern is actually used. - A version check alone confirms only that the vulnerable code is present in the installed Node.js binary; it does not confirm that an application actually exercises the vulnerable recursive-watch-under-restricted-permission pattern, nor that exploitation has occurred.
- No vendor-specific detection tooling, scanner signature, or dedicated log/telemetry guidance is given in the reviewed sources beyond the version and advisory references cited [1].
Immediate mitigation
- Where feasible, disable or avoid recursive
fs.watch()/fs.promises.watch()usage on macOS and Windows hosts running Node.js versions below the fixed releases, for any code path that operates under a restrictive Permission Model read grant. This directly prevents the vulnerable event-forwarding path from being invoked. This follows from the documented mechanism [1], not from an explicit vendor mitigation statement. Limitation: may require code changes if the application relies on recursive watching for legitimate functionality; verify by reviewing source for removed or conditionally-disabled recursive watch calls. - Restrict Permission Model read grants to directories known not to contain, or be adjacent to, sensitive-named files or subdirectories that should remain undiscoverable, as an interim compensating measure while patching is scheduled. This reduces the sensitivity of any names that could be disclosed but does not close the underlying bypass. Operational side effect: may require re-scoping legitimate application access patterns; verify by reviewing the
--permissiongrant flags used at process startup. - Increase monitoring of environments where untrusted or semi-trusted code runs under the Permission Model with recursive watch capability, specifically watching for unexpected process behavior following file creation events in restricted directories. This is an analyst-recommended precaution, not a source-documented control, because the pack provides no specific log guidance; verification is limited to confirming monitoring coverage exists for the relevant processes, not to confirming the mitigation stops exploitation.
- None of these measures fully closes the gap; they reduce likelihood or impact only until the permanent fix is applied.
Permanent remediation
Upgrade Node.js to the fixed version applicable to the deployed release line, as published by the vendor [1]:
- Node.js versions prior to 22.23.5 (22.x line and earlier): upgrade to 22.23.5 or later [1].
- Node.js versions from 23.0.0 up to but not including 24.22.3: upgrade to 24.22.3 or later [1].
- Node.js versions from 25.0.0 up to but not including 26.13.1: upgrade to 26.13.1 or later [1].
The vendor's advisory and release notes are referenced at the OpenJS Foundation's security advisories page and the Node.js blog's November 2026 security releases post [1]; the reviewed evidence does not include the full text of either page, only their listing as references in the NVD record, so detailed upgrade instructions, prerequisites, or dependency notes from those pages are not established by this pack.
Upgrade prerequisites and operational considerations: standard Node.js upgrade practice applies — back up application state and dependency lock files, test the new Node.js version in a staging environment against the application's dependency tree, and schedule a maintenance window for production rollout, since the pack does not state any Node.js-version-specific migration steps beyond the version bump itself. A process restart is required to load the new Node.js binary, as is standard for any Node.js version upgrade; this is an analyst assessment based on standard Node.js operational behavior, not a statement explicitly confirmed in the pack for this CVE.
No configuration changes beyond the version upgrade are documented in the reviewed sources as being required to remediate this specific flaw [1].
Workarounds and compensating controls
If immediate upgrade is not feasible, the compensating measures described in Immediate Mitigation (avoiding recursive watch under restrictive permission grants, re-scoping read grants, enhanced monitoring) serve as temporary workarounds [S1 as basis for the mechanism; analyst-derived as mitigations]. These are not equivalent to the permanent fix because they rely on operational discipline and code-path avoidance rather than correcting the underlying missing per-event permission check in FSEventWrap::OnEvent; any future code path, dependency, or developer action that reintroduces recursive watching under a restrictive grant would restore the exposure even with these workarounds in place. No vendor-documented workaround (e.g., a configuration flag to disable the vulnerable behavior) is described in the reviewed sources.
Validation and verification
- Confirm the installed Node.js version by running
node --versionon each remediated host or container image, and verify the output matches or exceeds the fixed version for the applicable release line (22.23.5, 24.22.3, or 26.13.1) [1]. - Confirm the Permission Model configuration in use (presence or absence of
--permissionand associated grant flags) remains as intended after the upgrade, since the fix does not change the Permission Model's grant syntax per the reviewed sources. - Re-audit application code for recursive
fs.watch()/fs.promises.watch()usage under restrictive read grants to confirm whether such patterns exist; their presence after patching is not inherently insecure once the underlying binary is fixed, but should be noted for ongoing risk tracking. - No vendor-specific scanner or automated check is referenced in the reviewed sources for confirming the fix beyond the version check itself; re-running a general dependency or vulnerability scanner that recognizes Node.js version strings against the fixed versions above is a reasonable supplementary step, but the pack does not endorse a specific tool.
- Review application logs and service health after the upgrade to confirm no regression in file-watching functionality, since any behavioral change in watch event delivery following the patch is not detailed in the reviewed sources and should be validated functionally.
- Record the verified version, upgrade date, responsible owner, and any remaining exceptions (e.g., hosts not yet upgraded) in change-management documentation for audit purposes.
Incident response
The reviewed sources provide no evidence of confirmed exploitation and no indicators of compromise for this CVE [1, 2]; therefore no CVE-specific incident response triggers are established. If an organization suspects exploitation (for example, observing a restricted process unexpectedly enumerating filenames beneath directories it should not be able to list), general incident response practice applies: scope which processes and Permission Model grants were involved; preserve relevant process and file-system audit logs before any remediation action that could overwrite them; investigate whether the disclosed names correlate with any subsequent targeted access attempts; apply the permanent fix (Node.js upgrade to the applicable fixed version) as part of eradication; and monitor affected systems post-remediation. The evidence pack does not provide CVE-specific log fields, so investigators must rely on general Node.js process and file-system audit logging available in their environment, as this pack does not detail such logging. Credential or secret rotation is only warranted if investigation independently confirms that disclosed filenames correspond to secrets whose existence or naming was leveraged in a subsequent compromise; this is not established by the reviewed sources for this CVE.
Security hardening and prevention
- Defence-in-depth: apply least-privilege Permission Model grants scoped as narrowly as possible, avoiding grants on parent directories whose subdirectories carry sensitive naming, since this reduces the value of any metadata the watcher may expose even in patched versions, as general practice.
- Defence-in-depth: incorporate dependency and runtime version checks into CI/CD pipelines to flag Node.js binaries below 22.23.5, 24.22.3, or 26.13.1 before deployment [1].
- Defence-in-depth: include recursive file-watch usage review as part of code review checklists for applications that use the Permission Model, given the specific interaction between recursive watch and permission grants documented in this CVE [1].
- Defence-in-depth: maintain a documented patch-management cadence for Node.js runtime updates, tracking the OpenJS Foundation's security advisories page referenced in this record [1].
Risk assessment
Technical severity is LOW per the sole available CVSS 3.0 score of 2.5, reflecting local-only access, high attack complexity, low privilege requirement, and a confidentiality-only, low-magnitude impact limited to metadata (names and timing) rather than content [1]. Exposure and asset criticality depend on deployment specifics not established by the reviewed sources (for example, whether an organization runs multi-tenant Node.js workloads with the Permission Model enabled on macOS or Windows, and whether sensitive information is encoded in filenames within watched directories) — organizations must assess this themselves. Exploit prerequisites are nontrivial: the Permission Model must be actively enabled, recursive fs.watch() must be in use, the platform must be macOS or Windows, and another actor must create content beneath the watched root during the watch window [1]. No evidence of exploitation in the wild exists in the reviewed sources, and the CVE is absent from the CISA KEV catalog as of 2026-11-12 [2]. Potential business impact is best characterized as reconnaissance-enabling rather than directly damaging, given the metadata-only disclosure. Recommended remediation priority: Routine-to-Moderate — upgrade during the next scheduled maintenance window for affected macOS/Windows Node.js deployments using the Permission Model with recursive file watching, rather than as an emergency out-of-band patch, given the low CVSS score, high attack complexity, and absence of confirmed exploitation; this prioritization is an analyst assessment based on the cited evidence and explicitly is not itself a CVSS score.
Conclusion
The core flaw is a one-time, root-level permission check in Node.js's native recursive file-watch binding that fails to re-validate individual file and directory names against the Permission Model's read grant before forwarding them to application code on macOS and Windows [1]. Teams running Node.js with --permission enabled and using recursive fs.watch()/fs.promises.watch() on these platforms should act, prioritizing upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1 as applicable to their release line [1]. The most urgent immediate mitigation is to avoid or restrict recursive watching under restrictive permission grants until upgraded, since no complete workaround beyond code-path avoidance is documented [1]. Closing this issue fully requires confirming the upgraded version is installed and that no recursive-watch-under-restricted-grant pattern remains unreviewed; the reviewed evidence does not include exploitation data, indicators, or detailed vendor advisory text, so organizations seeking fuller assurance should consult the OpenJS Foundation security advisories page and the Node.js November 2026 security release notes directly, as referenced in the CVE record [1].
Remediation checklist
- Inventory all Node.js installations on macOS and Windows hosts; run `node --version` to identify binaries below 22.23.5, 24.22.3, or 26.13.1 [1].
- Upgrade affected Node.js installations to 22.23.5 (22.x line), 24.22.3 (24.x line), or 26.13.1 (26.x line) as applicable, following standard backup, staging-test, and maintenance-window procedures [1].
- Until upgraded, audit code for recursive fs.watch()/fs.promises.watch() usage combined with restrictive Permission Model (--permission) read grants, and disable or avoid this pattern on macOS/Windows hosts as an interim measure [1].
- Re-scope Permission Model read grants to avoid directories containing or adjacent to sensitive-named files, as a temporary risk-reduction step prior to patching [1].
- After upgrading, re-run `node --version` to confirm the fixed version is active, and verify Permission Model grant configuration remains correctly applied [1].
- Review application logs and watch-feature functionality post-upgrade to confirm no regression in file-watching behavior.
- Document verified versions, upgrade dates, responsible owners, and any outstanding exceptions in change-management records for audit purposes.
Evidence gaps
- The full text of the OpenJS Foundation security advisory and the Node.js November 2026 security release blog post is not included in the pack; only their listing as references is available, so detailed vendor remediation guidance, acknowledgments, or additional technical detail cannot be confirmed beyond the NVD description [1].
- No vendor-issued CVSS score is present in the pack for comparison against the single NVD Secondary-scorer CVSS 3.0 score, so potential scoring discrepancies cannot be assessed.
- Exploitation-in-the-wild status, public proof-of-concept availability, and threat actor attribution are not established; only KEV catalog absence as of 2026-11-12 is confirmed, which does not prove non-exploitation [2].
- No indicators of compromise (hashes, log fields, process names, network patterns) are provided by the reviewed sources for this CVE; none should be assumed or fabricated.
- Applicability to Linux or other platforms is not explicitly confirmed or excluded beyond the statement that the flaw involves the macOS/Windows-specific native watcher implementation [1].
- Whether a process restart or additional configuration change is required after upgrading is not explicitly documented by the vendor in the pack; this is inferred from standard Node.js operational behavior only.
References
- CVE-2026-123829 record. NIST National Vulnerability Database (NVD), 2026-11-11. https://nvd.nist.gov/vuln/detail/CVE-2026-123829. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
Summary
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.
Severity breakdown
Low · 2.5
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality, none on integrity and availability
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | ≥ 0.0.0, < 22.23.5 | 22.23.5 |
| ≥ 23.0.0, < 24.22.3 | 24.22.3 | |
| ≥ 25.0.0, < 26.13.1 | 26.13.1 |
References by type
Other references
Affected
- nodejs node
Frequently asked questions
What is CVE-2026-123829?
CVE-2026-123829 is a low-severity information disclosure flaw in Node.js's experimental Permission Model, affecting recursive file watching via fs.watch() and fs.promises.watch() on macOS and Windows. Weakness type: Exposure of Sensitive Information to an Unauthorized Actor (CWE-200).
How severe is CVE-2026-123829?
CVE-2026-123829 has a CVSS 3.0 base score of 2.5 (low), from the CNA. An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-123829 being exploited?
Not as far as is known: CVE-2026-123829 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123829?
nodejs node ≥ 0.0.0, < 22.23.5 (fixed in 22.23.5); nodejs node ≥ 23.0.0, < 24.22.3 (fixed in 24.22.3); nodejs node ≥ 25.0.0, < 26.13.1 (fixed in 26.13.1).
How do I fix CVE-2026-123829?
Inventory all Node.js installations on macOS and Windows hosts; run node --version to identify binaries below 22.23.5, 24.22.3, or 26.13.1. Upgrade affected Node.js installations to 22.23.5 (22.x line), 24.22.3 (24.x line), or 26.13.1 (26.x line) as applicable, following standard backup, staging-test, and maintenance-window procedures. Until upgraded, audit code for recursive fs.watch()/fs.promises.watch() usage combined with restrictive Permission Model (--permission) read grants, and disable or avoid this pattern on macOS/Windows hosts as an interim measure.
Timeline & sources
References
Related vulnerabilities & news
- isomorphic-git Path Traversal Flaw in Git Implementation
- Nitro PDF Pro Default Permissions Flaw (CVE-2026-126675)
- Algernon Web Server Case Sensitivity Flaw in CVE-2026-68548
- ASP.NET Core CSRF Flaw (CVE-2026-109481) Affects .NET 11.0 Builds and Visual Studio 2026 18.12
- CERT-In Rates Multiple Cisco ClamAV Flaws High; Affected Secure Endpoint Connector Versions Listed