Skip to main content

Node CVE-2026-21715

| EUVDEUVD-2026-17178 LOW
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-03-30 hackerone
3.3
CVSS 3.0 · Vendor: hackerone
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Impact

CVSS 3.3 (Low severity) with CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:L reflects the limited real-world exploitability: the attack requires local access and authenticated execution context (PR:L, privileged user running code), impacts only confidentiality (information disclosure), and is confined to a single process scope (S:U). EPSS probability and KEV status are not provided in the input, but the vulnerability is deterministic and highly automatable given the attack surface (a single function call). From an SSVC perspective, the technical impact is partial (information disclosure only, no code execution or system-wide compromise), automatable via simple script (calling fs.realpathSync.native()), but requires pre-existing presence of sandboxed code. Real-world priority is moderate: this is not a critical jailbreak but a meaningful sandbox bypass that compromises the integrity of administrator-configured restrictions. Organizations relying on Node.js Permission Model for multi-tenant or untrusted-code isolation should prioritize patching, while general deployments can address in regular update cycles.

Exploit ScenarioDerived

An administrator configures Node.js with --permission --allow-fs-read=/home/user/public to restrict a multi-tenant JavaScript application to a specific directory. A malicious tenant code snippet calls fs.realpathSync.native('/etc/passwd') or fs.realpathSync.native('../../../') repeatedly to enumerate the filesystem hierarchy and confirm existence of sensitive files outside /home/user/public, leaking directory structure information (e.g., confirming /etc/shadow exists or listing /home/admin). Because AC:L and PR:L apply, the attacker must execute within the sandboxed process; this is realistic in containerized or application-level isolation scenarios. No public exploit code is referenced in the input, but the attack is trivial (single function call), deterministic, and requires no authentication beyond the sandboxed execution context already granted.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 30, 2026

Node.js Permission Model enforcement in versions 20.x, 22.x, 24.x, and 25.x fails to validate read permissions for fs.realpathSync.native(), allowing local authenticated processes running under --permission with restricted --allow-fs-read to enumerate filesystem paths, check file existence, and resolve symlink targets outside permitted directories. This information disclosure vulnerability bypasses sandbox restrictions intentionally configured by administrators and affects multiple stable and current Node.js release series.

RemediationAI

Upgrade Node.js to a patched version released in March 2026 as described in the official Node.js security advisory (https://nodejs.org/en/blog/vulnerability/march-2026-security-releases). Ubuntu and Debian users should apply security updates from their respective distributions (DSA-6183-1 for Debian). For deployments where immediate upgrades are not feasible, administrators should avoid relying solely on Node.js Permission Model for security-critical isolation of untrusted code; implement additional OS-level sandboxing (containers, seccomp, AppArmor) or network-based compartmentalization. Disable use of fs.realpathSync.native() in sandboxed contexts by substituting fs.realpathSync() (without .native), which enforces permission checks, or by patching application code to use only permitted filesystem APIs.

Affected VersionsENISA

Node 13.0 <13.*
Node 14.0 <14.*
Node 6.0 <6.*
Node 7.0 <7.*
Node 16.0 <16.*
Node 24.14.0 ≤24.14.0
Node 20.20.1 ≤20.20.1
Node 18.0 <18.*
Node 9.0 <9.*
Node 25.8.1 ≤25.8.1
Node 4.0 <4.*
Node 15.0 <15.*
Node 12.0 <12.*
Node 5.0 <5.*
Node 11.0 <11.*
Node 10.0 <10.*
Node 17.0 <17.*
Node 22.22.1 ≤22.22.1
Node 8.0 <8.*
Node 19.0 <19.*

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

Node.js Permission Model (introduced in v19.12.0 and v20.1.0) provides a sandbox mechanism allowing administrators to restrict filesystem access via --allow-fs-read and --allow-fs-write flags. The vulnerability lies in incomplete permission validation within the fs module's native bindings. While functions like fs.readFile(), fs.stat(), and fs.readdir() correctly enforce permission checks before accessing the filesystem, fs.realpathSync.native() (the optimized native implementation of fs.realpathSync()) bypasses these checks entirely. This occurs because the native C++ binding does not validate against the permission model's internal allowlist before calling the system realpath() function. The CWE classification is unspecified but aligns with CWE-273 (Improper Check for Dropped Privileges) or CWE-863 (Incorrect Authorization). Affected product: Node.js (cpe:2.3:a:nodejs:node:*:*:*:*:*:*:*:*) versions 20.x through 25.x.

Know when Node 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

Vendor (hackerone) PRIMARY 3.3 LOW
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Ubuntu MEDIUM
SUSE LOW

Primary rating from Vendor (hackerone).

CVSS VectorVendor: hackerone

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 30, 2026 - 19:07 nvd
LOW 3.3

DescriptionCVE.org

A flaw in Node.js Permission Model filesystem enforcement leaves fs.realpathSync.native() without the required read permission checks, while all comparable filesystem functions correctly enforce them.

As a result, code running under --permission with restricted --allow-fs-read can still use fs.realpathSync.native() to check file existence, resolve symlink targets, and enumerate filesystem paths outside of permitted directories.

This vulnerability affects 20.x, 22.x, 24.x, and 25.x processes using the Permission Model where --allow-fs-read is intentionally restricted.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

Ubuntu

Priority: Medium
nodejs
Release Status Version
trusty needs-triage -
xenial needs-triage -
bionic needs-triage -
focal needs-triage -
jammy needs-triage -
noble needs-triage -
questing needs-triage -
upstream released 22.22.2+dfsg+~cs22.19.15-1

Debian

nodejs
Release Status Fixed Version Urgency
bullseye vulnerable 12.22.12~dfsg-1~deb11u4 -
bullseye (security) vulnerable 12.22.12~dfsg-1~deb11u7 -
bookworm, bookworm (security) vulnerable 18.20.4+dfsg-1~deb12u1 -
trixie fixed 20.19.2+dfsg-1+deb13u2 -
trixie (security) fixed 20.19.2+dfsg-1+deb13u2 -
forky vulnerable 22.22.1+dfsg+~cs22.19.15-1 -
sid fixed 22.22.2+dfsg+~cs22.19.15-1 -
(unstable) fixed 22.22.2+dfsg+~cs22.19.15-1 -

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Fixed

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