CVE
CVE-2026-21715
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 25.0.0, ≤ 25.8.1受影响至 25.8.1(含),修复版本见厂商公告
- ≥ 24.0.0, ≤ 24.14.0受影响至 24.14.0(含),修复版本见厂商公告
- ≥ 22.0.0, ≤ 22.22.1受影响至 22.22.1(含),修复版本见厂商公告
- ≤ 20.20.1受影响至 20.20.1(含),修复版本见厂商公告
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- nodejs.org/en/blog/vulnerability/march-2026-security-releases · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。