CVE-2026-21716
Last modified
CVE-2026-21716 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nodejs | node | >= 20.20.1, <= 20.20.1; >= 22.22.1, <= 22.22.1; >= 24.14.0, <= 24.14.0; >= 25.8.1, <= 25.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-21716?
How severe is CVE-2026-21716?
How do I fix CVE-2026-21716?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-21710A flaw in Node.js HTTP request handling causes an uncaught `…7.5
- CVE-2026-21711A flaw in Node.js Permission Model network enforcement leave…5.3
- CVE-2026-21712A flaw in Node.js URL processing causes an assertion failure…5.7
- CVE-2026-21713A flaw in Node.js HMAC verification uses a non-constant-time…5.9
- CVE-2026-21714A memory leak occurs in Node.js HTTP/2 servers when a client…5.3
- CVE-2026-21715A flaw in Node.js Permission Model filesystem enforcement le…3.3
- CVE-2026-21717A flaw in V8's string hashing mechanism causes integer-like …5.9
- CVE-2026-21718An authentication bypass vulnerability exists in Copeland XW…9.8
- CVE-2026-21719An OS command injection vulnerability exists in CubeCart pri…8.6
- CVE-2026-2172A vulnerability was determined in code-projects Online Appli…9.8
- CVE-2026-21720Every uncached /avatar/:hash request spawns a goroutine that…7.5
- CVE-2026-21721The dashboard permissions API does not verify the target das…8.1
Are you affected by CVE-2026-21716?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
