CVE-2026-58043
nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 30, 2026
Updated · October 19, 2026
Description
A flaw in the Node.js Permission Model allows attackers to bypass --permission restrictions, enabling unauthorized read or write access to files and directories.
Statement
This Important flaw in Node.js allows an attacker, when the Permission Model is enabled, to bypass intended filesystem access restrictions. An attacker with initial access to a permitted path could read from or write to unauthorized locations, leading to a privilege escalation within the application's sandboxing.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Avoid enabling the Node.js Permission Model by not using the --permission flag when starting Node.js applications. This prevents the vulnerable enforcement mechanism from being active. Disabling the Permission Model may remove an intended security layer if your application relies on it for sandboxing.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
CWE-551 · Incorrect Behavior Order: Authorization Before Parsing and Canonicalization