On this page
A permission rule can look restrictive and still grant more than its author intended. In Node.js, a narrow filesystem wildcard had one such edge case: when the requested path was shorter than the wildcard prefix, the permission tree could stop comparing early and accept the path. The November security release documents a concrete example: --allow-fs-read=/etc/passwd.* could match /etc/passwd in a specific tree configuration. [1]
That is worth fixing, but the scope matters. This is not a report that any website running Node.js can be remotely made to read arbitrary files. The issue concerns local code that relies on Node’s experimental Permission Model, and the advisory says the vulnerable pattern requires the wildcard grant to sit directly under the root of the permission tree. [1]

Why this fix matters to teams using the Permission Model
Node’s Permission Model lets an operator restrict capabilities such as filesystem access with command-line flags. That can help narrow what an application process should reach, but it is a defense boundary that needs testing and precise rules. If a pattern grants more than its author intended, the restriction is weaker than the configuration suggests.
CVE-2026-106071 is specifically about a radix-tree lookup comparing a requested path with a wildcard grant. A wildcard such as /etc/passwd.* is meant to cover names that share that prefix. The bug was that a shorter path could be accepted before the comparison had established that it actually matched. The Node.js advisory marks the issue low severity and explains the condition; the release notes list the source change as fixing the filesystem permission-tree node on wildcard nodes. [1] [2]
The distinction is useful for prioritization. A team that does not use Node’s Permission Model is not using this feature as its security boundary, so the issue does not create the same immediate configuration exposure. A team that does use --permission, particularly to run plugins, build steps, or semi-trusted code with scoped filesystem access, should treat it as a runtime patch item and review the rules around the process.
Which versions to check
The November 11 advisory lists the affected active release lines as 22.x, 24.x, and 26.x. Its release section identifies 22.23.5, 24.22.3, and 26.13.1 as the security releases. The 22.23.5 changelog also records the permission-tree fix. [1] [2]
Do not rely on a developer laptop’s node --version alone. Production containers, CI runners, build images, and functions may each bundle a different runtime. Look at the image digest and lockfile or deployment manifest that actually supplies Node, then confirm the vendor’s patched package status if you consume an operating-system package. Distribution maintainers sometimes backport a patch without adopting the upstream version number, so compare against that vendor’s advisory rather than assuming the upstream string is the only valid evidence. The upstream notice says end-of-life versions are affected when a security release applies, which is another reason to inventory old runtimes instead of only the main service. [1]
What to do this week
- Find every execution environment using Node 22, 24, or 26, including CI and one-off jobs. Include images built but not yet deployed.
- Search configuration and command invocations for
--permission,--allow-fs-read, and--allow-fs-write. Identify wildcard grants that sit directly under the permission tree root. - Update to a release with the fix, or apply the distribution package that its security team marks fixed. Rebuild container images; replacing the package on a developer machine does not change an already-built image.
- Keep tests for both allowed and denied paths. The security contract is the exact file boundary, not whether a representative happy-path read succeeds.
This is a focused fix in a feature that some teams use to reduce process authority. It should not be inflated into a general claim that Node’s runtime sandbox is a complete substitute for operating-system isolation. A patched runtime closes this documented over-grant; it does not remove the need to scope filesystem rules carefully or isolate workloads that process untrusted input.
For more context on where runtime boundaries end and application boundaries begin, see our guide to choosing a process boundary for untrusted code.
Frequently asked questions
What did CVE-2026-106071 change in Node.js?
A wildcard filesystem permission could match a path that was shorter than the wildcard prefix. In a narrow permission-tree configuration, a rule such as --allow-fs-read=/etc/passwd.* could also allow reading /etc/passwd.
Which Node.js versions include the fix?
The November 11 security release lists Node.js 22.23.5, 24.22.3, and 26.13.1. Check your distribution's advisory too because operating-system vendors may backport fixes under different package versions.
Does this flaw let an internet attacker read files directly?
The documented issue is a local permission-model over-grant affecting code already running under Node.js with a specific wildcard configuration. The advisory does not describe it as a direct remote attack.



/* Comments */
Comments are offline right now — we reconnect automatically, nothing is lost.