Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

Node.js Permissions Model symlink path bypass

IdentifiersCVE-2025-55130CWE-59

A high-severity flaw in the Node.js Permissions model allows bypass of filesystem restrictions enforced by --allow-fs-read and --allow-fs-write through crafted relative symlink paths. By chaining directories and symlinks, an attacker-controlled script that is only intended to access the current directory can traverse outside the permitted path and access files elsewhere on the filesystem. The issue breaks the isolation guarantees of the Node.js permission model for affected releases. The vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an attacker to evade Node.js filesystem permission boundaries and perform unauthorized file reads and writes outside the intended allowed path. This can expose sensitive files, enable corruption or modification of data, and potentially contribute to broader system compromise depending on the privileges of the Node.js process and the sensitivity of reachable files.

Mitigation

If you can’t patch tonight, do this now.

Do not rely on the affected Node.js Permissions model alone for filesystem isolation. Avoid granting --allow-fs-read or --allow-fs-write to untrusted scripts on affected versions. Run untrusted code in stronger isolation boundaries such as containers, VMs, or dedicated sandboxes, and enforce least-privilege OS-level filesystem permissions to reduce impact if the Node.js permission model is bypassed.

Remediation

Patch, then assume compromise.

Upgrade Node.js to a patched release in the supported lines. The provided content indicates security releases were issued for Node.js 20.x, 22.x, 24.x, and 25.x, including versions 20.20.0, 22.22.0, 24.13.0, and 25.3.0, which addressed CVE-2025-55130.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
CVE-2025-55130MaturityPoCVerified exploit

Repository contains a Node.js proof-of-concept exploit for CVE-2025-55130 (Node.js Permission Model symlink escape). It demonstrates bypassing --allow-fs-read/--allow-fs-write restrictions by creating a deep directory chain within the allowed path, placing a symlink (link) that points to an absolute path (__dirname), and then appending enough ../ traversal segments after the symlink so that the permission check (performed on the pre-resolution string) passes while the resolved path escapes the sandbox. Structure/purpose: - README.md: Explains the vulnerability, affected versions (20.x<20.20.0, 22.x<22.22.0, 24.x<24.13.0, 25.x<25.3.0), and usage. - check.js: Local-only version range checker using process.version; not an exploit. - exploit.js: Main arbitrary file read PoC. Default target is /etc/passwd; accepts a target path as argv[2]. Builds ./pwn/... chain, symlinks to __dirname, computes traversal depth from __dirname, and reads via fs.readFileSync on the crafted path. - exploit_write.js: Arbitrary file write PoC. Default target is /tmp/pwned_<timestamp>.txt; accepts target path and content via argv. Uses fs.writeFileSync on the crafted escaped path. - exfil.js: Bulk exfiltration helper that iterates a hardcoded list of common sensitive Linux and $HOME files (SSH keys, AWS creds, Docker config, shell history, etc.) and attempts to read each via the same symlink+traversal technique; prints a small preview and stats. Capabilities: - Sandbox escape for filesystem operations under Node’s Permission Model. - Arbitrary file read (single target) and mass file read/exfiltration. - Arbitrary file write outside the allowed directory (can be used for persistence/priv-esc depending on environment). No network C2/endpoints are present; all actions are local filesystem operations. Cleanup routines remove created directories (./pwn, ./wpwn, ./exfil_chain) after execution.

scumfrogDisclosed Feb 1, 2026javascriptmarkdownlocal
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
NodejsNodejsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity14

Community discussion across Reddit, Mastodon, and other social sources.