Description
A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries.

Under `--permission`, an attacker who is granted access to one path can abuse boundary handling to read from or write to paths outside the intended filesystem allowlist.

This vulnerability affects Node.js **main**, **22.x**, **24.x**, and **26.x**.
Published: 2026-07-30
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Node.js’s Permission Model enforcement allows an attacker to over‑grant filesystem access by exploiting a radix‑tree prefix boundary handling bug. When the --permission option creates a permission tree, a user granted access to a single path can abuse the boundary logic to read or write files outside the intended allowlist. This leads to unauthorized disclosure or modification of data, compromising confidentiality, integrity, and potentially availability of the affected system.

Affected Systems

The vulnerability affects Node.js releases labeled main, 22.x, 24.x, and 26.x. Any deployment running these versions and using the --permission feature is susceptible. No sub‑version ranges are specified, so the entire branches are considered impacted until a patch is applied.

Risk and Exploitability

The CVSS base score of 7.5 indicates a high impact, while the EPSS score of less than 1 % suggests a very low but non‑zero probability of exploitation. The vulnerability is not currently listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector requires an actor able to influence the --permission parameter, which could be a local user or a remote entity that can supply code to the Node.js process. Successful exploitation would grant read/write permissions beyond the intended scope, leading to information compromise or system compromise.

Generated by OpenCVE AI on August 7, 2026 at 01:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Node.js to a newer release that contains the security fix (any newer version in the affected branches or the main branch).
  • If an upgrade cannot be performed immediately, restrict the use of the --permission flag to trusted environments and avoid accepting permission strings from untrusted input sources.
  • Validate or sanitize all permission strings derived from user input before creating permission trees, ensuring they match a whitelist of allowed paths.

Generated by OpenCVE AI on August 7, 2026 at 01:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Title nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-551
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N'}

threat_severity

Important


Tue, 04 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Title Node.js Filesystem Permission Over‑Grant via Radix‑Tree Prefix Boundary Bypass

Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Title Node.js Filesystem Permission Over‑Grant via Radix‑Tree Prefix Boundary Bypass

Thu, 30 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs

Thu, 30 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Description A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries. Under `--permission`, an attacker who is granted access to one path can abuse boundary handling to read from or write to paths outside the intended filesystem allowlist. This vulnerability affects Node.js **main**, **22.x**, **24.x**, and **26.x**.
Weaknesses CWE-284
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2026-07-31T03:55:48.673Z

Reserved: 2026-06-27T15:00:00.780Z

Link: CVE-2026-58043

cve-icon Vulnrichment

Updated: 2026-07-30T12:36:07.155Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-30T06:25:55.310

Modified: 2026-07-31T04:17:23.737

Link: CVE-2026-58043

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-30T06:02:50Z

Links: CVE-2026-58043 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T01:30:04Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization