Skip to main content

Node.js EUVDEUVD-2026-51021

| CVE-2026-58043 HIGH
Improper Access Control (CWE-284)
8.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify or gain access to Node.js process using --permission flag
  2. Delivery
    Craft path request that forces radix tree node split in permission policy
  3. Exploit
    Incorrect permission grant extends to out-of-policy filesystem paths
  4. Execution
    Use fs APIs to read or write files outside allowed policy
  5. Impact
    Exfiltrate credentials, secrets, or tamper with host filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is only possible when Node.js is launched with the --permission flag, an opt-in experimental feature that is off by default; the entire attack surface is absent in the overwhelming majority of production Node.js deployments. The attacker must have local code execution within a Node.js process - either as the script author/operator or through a separate initial-access step - and that process must be running with at least one --allow-fs-read or --allow-fs-write path configured. Exploitation is further constrained by SSVC Automatable: no, meaning it cannot be triggered remotely without interaction. What limits exploitation: requires explicit operator opt-in to --permission; requires local process execution (AV:L, PR:L - not remotely triggerable on its own); not automatable at scale; no network-facing component involved.

Impact

The CVSS 8.4 (High) is driven by three factors: Changed scope (the bypass crosses the Permission Model boundary into the host filesystem), High confidentiality and integrity impact (arbitrary file read and write beyond the policy), and low attack complexity and low privilege requirements. However, the real-world risk is materially lower than the raw score implies: the Permission Model must be explicitly opted into via --permission; it is not enabled in the vast majority of Node.js deployments, which have no attack surface here. This is directly confirmed by EPSS at 0.14% (3rd percentile) - very low anticipated exploitation probability - and SSVC Automatable: no, indicating this cannot be mass-exploited. SSVC Technical Impact is rated total, consistent with full filesystem access escape. The combination of CVSS High with EPSS at 3rd percentile and no KEV listing is internally consistent: the flaw is serious within its scope, but that scope (deployments using --permission) is narrow. There is no signal of active exploitation; no POC has been published.

Exploit ScenarioDerived

An attacker with a local shell session at low privilege (e.g., a CI runner, a containerized Node.js worker, or a sandboxed script invoked with --allow-fs-read=/app/data) crafts a sequence of path requests that force the internal radix tree to split a permitted node, causing Node.js to grant access to a sibling or ancestor path (such as /etc or /home) outside the original policy. The attacker then uses standard Node.js fs APIs to read SSH keys, application secrets, or other sensitive files from those newly accessible paths. No public proof-of-concept is available at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 25, 2026

Node.js's Permission Model - enabled via the --permission flag - incorrectly grants access rights when an internal radix tree node is split during path resolution, allowing a locally executing low-privileged process to escape its configured filesystem access policy on versions 22.x through 22.23.1, 24.x through 24.18.0, and 26.x through 26.5.0. The scope change in the CVSS vector (S:C, C:H, I:H) reflects that a successfully exploiting process can read and write files on the host filesystem beyond what its permission policy permits - effectively defeating the sandbox. No public exploit code exists and CISA KEV listing is absent; EPSS at 0.14% (3rd percentile) reflects that real-world exploitation is currently minimal, consistent with the non-default nature of the affected feature.

Earlier versions of this analysis (1)
v1 Jul 30, 2026 - 06:59 CVSS 7.5

Filesystem access-control bypass in the Node.js Permission Model allows code already running inside a permission-restricted process to read from and write to paths outside its intended allowlist. Rated High by the Node.js project, it stems from faulty radix-tree prefix-boundary handling ('radix split nodes') in path matching and affects the active 22.x, 24.x, and 26.x release lines when the --permission flag is used. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; a vendor-released patch shipped July 29, 2026 in v22.23.2, v24.18.1, and v26.5.1.

RemediationAI

Upgrade to Node.js 26.5.1 or the corresponding patched releases for the v22 and v24 LTS lines released in the July 2026 security release cycle; exact patched LTS versions beyond v26.5.1 should be confirmed at https://nodejs.org/en/blog/vulnerability/july-2026-security-releases. Red Hat users should apply RHSA-2026:48273, RHSA-2026:48305, or RHSA-2026:48537 as applicable to their platform. As an immediate compensating control for deployments that cannot patch, removing the --permission flag from Node.js invocations eliminates all exposure because the vulnerable radix tree code path is only reachable when the Permission Model is active - however, this trade-off also removes any filesystem access restrictions the flag was providing, potentially widening the attack surface in other ways. There is no known per-path workaround that preserves the Permission Model while avoiding the flaw.

Affected VersionsENISA

Node 22.23.1 ≤22.23.1
Node 24.18.0 ≤24.18.0
Node 26.5.0 ≤26.5.0

Affected Packages

euvd node no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Node.js Permission Model, introduced to restrict filesystem, child-process, and worker access for running scripts, uses a radix tree data structure internally to match and enforce permitted path prefixes. CWE-284 (Improper Access Control) is the root cause: when the radix tree performs an internal node-split operation - a normal structural optimization when a new path prefix is inserted - the implementation was incorrectly granting permission to the newly created intermediate (split) node. This means paths that share a prefix with, but extend beyond, an explicitly allowed path could be permitted by accident. Affected products per CPE are cpe:2.3:a:nodejs:node.js for the LTS lines v22 and v24 and the Current line v26. The fix, attributed to maintainer RafaelGSS in commit af0bf96877-adjacent work in the private nodejs-private repository, was shipped in the July 2026 security release.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.4 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 8.4 HIGH

Local process execution with low privilege required; scope changes as the host filesystem boundary is crossed; no availability impact from a path-bypass flaw.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
SUSE 7.5 HIGH
AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Red Hat 7.5 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Analysis Updated
Aug 25, 2026 - 18:14 vuln.today
v2 - CVSS changed
CVSS changed
Aug 25, 2026 - 18:07 NVD
7.5 (HIGH) 8.4 (HIGH)
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.5 (HIGH)
CVE Published
Jul 29, 2026 - 14:02 github-releases
UNKNOWN (no severity yet)
CVE Published
Jul 29, 2026 - 14:02 github-releases
HIGH 7.5

Description PRE-NVD

Disclosed via GitHub release of nodejs/node. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Node.js versions 22.x through 22.23.1, 24.x through 24.18.0, and 26.x through 26.5.0 contain a local privilege escalation vulnerability in the permission model feature (--permission flag) that allows a low-privileged process to escape its filesystem access sandbox and read or write files beyond its configured policy. This defeats a security control intended to restrict privileged operations. No public exploit identified at time of analysis; however, organizations using this feature require urgent remediation.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
Node.js is widely deployed across enterprise, cloud, and developer environments
Data Quality
8 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Affected
SUSE Linux Enterprise Server 15 SP6-LTSS Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy