Description
A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard `--allow-fs-read` or `--allow-fs-write` rule.

When the requested path is shorter than the prefix of a wildcard grant, the radix tree lookup stops comparing early and treats the path as a match. For example, `--allow-fs-read=/etc/passwd.*` also allows reading `/etc/passwd`. This requires the wildcard grant to sit directly under the root of the permission tree, for example when it is the only grant for that scope. This is a different root cause from CVE-2026-58043.

This vulnerability affects Node.js **26.x**.
Published: 2026-10-23
Score: 3.6 Low
EPSS: n/a
KEV: No
Impact: Unauthorized File Read
Action: Upgrade Node
AI Analysis

Impact

Node.js implements a permission model that controls file system access via command-line flags such as --allow-fs-read and --allow-fs-write. The flaw causes a radix tree lookup to stop prematurely when the requested path is shorter than the prefix granted by a wildcard, so a grant like --allow-fs-read=/etc/passwd.* incorrectly permits reading /etc/passwd. This allows an application running with elevated privileges or configured with such a wildcard to read arbitrary files that are not within the intended scope, leading to potential information disclosure. The weakness is an example of CWE-284, Improper Authorization.

Affected Systems

The vulnerability impacts Node.js version 26.x. It was discovered in that release and has not yet been addressed in subsequent versions at the time of this advisory. Only the Node.js runtime and applications built on it that use the permission model are affected.

Risk and Exploitability

The CVSS score of 3.6 indicates a low to moderate severity. No EPSS score is available and the issue is not listed in CISA’s KEV catalog, suggesting that widespread exploitation has not been observed. An attacker must be able to supply or modify the command-line arguments or configuration used to launch Node.js. If the process runs with root or elevated privileges, the attacker can read arbitrary files on the system, making the risk largely contingent on deployment context and privilege level.

Generated by OpenCVE AI on October 23, 2026 at 17:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched Node.js release
  • If an upgrade cannot be performed immediately, remove or restrict wildcard grants such as --allow-fs-read=/etc/passwd.* and use explicit file paths instead of root-level wildcards.
  • Apply operating‑system level confinement (SELinux, AppArmor, or similar) to limit file system access for Node.js processes.

Generated by OpenCVE AI on October 23, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
Title Privilege Escalation via Misapplied Filesystem Permission Wildcards in Node.js 26.x

Fri, 23 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard `--allow-fs-read` or `--allow-fs-write` rule. When the requested path is shorter than the prefix of a wildcard grant, the radix tree lookup stops comparing early and treats the path as a match. For example, `--allow-fs-read=/etc/passwd.*` also allows reading `/etc/passwd`. This requires the wildcard grant to sit directly under the root of the permission tree, for example when it is the only grant for that scope. This is a different root cause from CVE-2026-58043. This vulnerability affects Node.js **26.x**.
Weaknesses CWE-284
References
Metrics cvssV3_0

{'score': 3.6, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/CR:M/IR:M/AR:M'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-10-23T16:15:05.791Z

Reserved: 2026-10-06T15:00:00.655Z

Link: CVE-2026-106071

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T17:17:20.060

Modified: 2026-10-23T17:17:20.060

Link: CVE-2026-106071

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T18:00:15Z

Weaknesses