CRITICAL🇵🇱 Wersja polska

CVE-2025-55130

CVSS 9.1v3.1pub. 2026-01-20upd. 2026-06-30

A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.

🤖 AI Analysis
How it works

An attacker creates a script granted access only to the current directory. By combining directories and symbolic links (symlinks) with crafted relative paths, the script can escape beyond the permitted filesystem area. The permission verification mechanism (CWE-289: Authentication Bypass by Alternate Name) does not recognize crafted paths as exceeding the allowed scope, allowing the attacker to bypass the isolation guaranteed by the permission model.

Impact

An attacker can read sensitive system files and write data outside the permitted directory, violating expected isolation. As a result, complete compromise of the system running the vulnerable Node.js process is possible.

Mitigation & patch

Patches available from the vendor should be applied according to references — details in the Node.js security advisory from December 2025: https://nodejs.org/en/blog/vulnerability/december-2025-security-releases

Who is affected

Node.js in versions v20, v22, v24, and v25 — affects users utilizing the Permission Model

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Node.js

    APP
    Nodejs
    20.0.0 – 20.20.0 (excl.)22.0.0 – 22.22.0 (excl.)24.0.0 – 24.13.0 (excl.)25.0.0 – 25.3.0 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-48930CRITICAL9.8PL ✓same product

Node.js TLS: błąd obsługi hostname z null-bajtem prowadzi do przekierowania authority

CVE-2026-21636CRITICAL10.0PL ✓same product

Node.js: obejście modelu uprawnień przez Unix Domain Socket

CVE-2024-3566CRITICAL9.8PL ✓same product

Command injection w aplikacjach Windows korzystających z CreateProcess

CVE-2024-21896CRITICAL9.8PL ✓same product

Path traversal w Permission Model Node.js przez monkey-patching Buffer

CVE-2023-39332CRITICAL9.8PL ✓same product

Path traversal w Node.js przez obiekty Uint8Array w funkcjach node:fs