CVE-2026-58043

nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw

Published Jul 30, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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**.

Analysis

AI-generated

Technical 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 8.4 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.

Remediation

No solution or workaround provided in the CVE record.

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 26, 2026 at 04:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nodejs node.js
CPEs cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
Vendors & Products Nodejs node.js
Metrics 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'}

cvssV3_1

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

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

Type Values Removed Values Added
Title Node.js Filesystem Permission Over‑Grant via Radix‑Tree Prefix Boundary Bypass
Type Values Removed Values Added
Title Node.js Filesystem Permission Over‑Grant via Radix‑Tree Prefix Boundary Bypass
Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Jul 31, 2026, 3:55 AM
Reserved
Jun 27, 2026, 3:00 PM
Status
Analyzed
Published
Jul 30, 2026, 6:25 AM
Modified
Oct 23, 2026, 10:10 PM
Severity
Important
Public date
Jul 30, 2026, 6:02 AM