Vulnerability
CVE-2026-21716
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.
62 advisories report this vulnerability, across 16 ecosystems.
Advisories in Red Hat
-
RHSA-2026:6402
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:6431
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:7350
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:7386
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:7387
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:7670
Red Hat Security Advisory: nodejs:24 security update
-
RHSA-2026:7675
Red Hat Security Advisory: nodejs24 security update
-
RHVEX-CVE-2026-21716
nodejs: Node.js: Permission bypass allows unauthorized modification of file permissions and ownership via incomplete security fix.