CVE-2026-21716

Summary

CVECVE-2026-21716
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-30 20:16:19 UTC
Updated2026-04-01 14:24:21 UTC
DescriptionAn 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.

Risk And Classification

Primary CVSS: v3.0 3.3 LOW from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS: 0.000040000 probability, percentile 0.001760000 (date 2026-04-01)

Problem Types: CWE-862 | CWE-862 CWE-862 Missing Authorization


VersionSourceTypeScoreSeverityVector
3.0[email protected]Secondary3.3LOWCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
3.0CNADECLARED3.3LOWCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Nodejs Node affected 20.20.1 20.20.1 semver Not specified
CNA Nodejs Node affected 22.22.1 22.22.1 semver Not specified
CNA Nodejs Node affected 24.14.0 24.14.0 semver Not specified
CNA Nodejs Node affected 25.8.1 25.8.1 semver Not specified

References

ReferenceSourceLinkTags
nodejs.org/en/blog/vulnerability/march-2026-security-releases [email protected] nodejs.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report