🛡️ CVE-2026-21716 on Debian — nodejs
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.
Distribution advisory
This page covers CVE-2026-21716 as tracked by Debian, for the package nodejs. The fix is available in version 22.22.2+dfsg+~cs22.19.15-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Affected software
DEBIAN-CVE-2026-21716 is recorded against 1 package.
- nodejs (fixed in 22.22.2+dfsg+~cs22.19.15-1)
Timeline and source
Published on 30 March 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-21716 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nodejs | — | 22.22.2+dfsg+~cs22.19.15-1 |
References
Similar Threats
- Unknown ALPINE-CVE-2022-32212
- Unknown ALPINE-CVE-2022-32213
- Unknown ALPINE-CVE-2022-32214
- Unknown ALPINE-CVE-2022-32215
- Unknown ALPINE-CVE-2021-44531
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2026-21716?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2026-21716 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.