2084AI 安全观察

CVE

CVE-2026-21716

CVE-2026-21716EPSS 4%

CNA 原文 · 原文(英文)

An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permission checks, while their callback-based equivalents (`fs.fchmod()`, `fs.fchown()`) were correctly patched. As a result, code running under `--permission` with restricted `--allow-fs-write` can still use promise-based `FileHandle` methods to modify file permissions and ownership on already-open file descriptors, bypassing the intended write restrictions. This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.

受影响版本

Node.js 的全部漏洞 →

  • ≥ 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 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。