Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21716: Vulnerability in nodejs node

0
Low
VulnerabilityCVE-2026-21716cvecve-2026-21716
Published: Mon Mar 30 2026 (03/30/2026, 19:07:28 UTC)
Source: CVE Database V5
Vendor/Project: nodejs
Product: node

Description

CVE-2026-21716 is a vulnerability in Node. js affecting versions 20. x, 22. x, 24. x, and 25. x that use the Permission Model with restricted --allow-fs-write. An incomplete fix for a previous vulnerability (CVE-2024-36137) left the promise-based FileHandle methods chmod() and chown() without proper permission checks, allowing modification of file permissions and ownership on open file descriptors despite restrictions. The callback-based equivalents were correctly patched. This issue has a low severity score and no known exploits in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/07/2026, 10:53:56 UTC

Technical Analysis

This vulnerability arises from an incomplete patch for CVE-2024-36137 in Node.js. While the callback-based file system methods fs.fchmod() and fs.fchown() were properly secured with permission checks, the promise-based FileHandle.chmod() and FileHandle.chown() methods remain vulnerable. When Node.js processes run with the Permission Model restricting --allow-fs-write, these promise-based methods can still modify file permissions and ownership on already-open file descriptors, effectively bypassing the intended write restrictions. Affected versions include 20.20.1, 22.22.1, 24.14.0, and 25.8.1.

Potential Impact

The vulnerability allows code running with restricted file system write permissions to bypass these restrictions and modify file permissions and ownership on open file descriptors using promise-based APIs. This could lead to unauthorized changes to file metadata, potentially impacting system integrity or security policies. The CVSS score of 3.3 reflects a low severity with limited impact, requiring local privileges and no user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix links are provided at this time. Users should monitor Node.js vendor advisories for updates addressing this incomplete fix. Until a patch is available, avoid relying solely on the Permission Model's --allow-fs-write restrictions when using promise-based FileHandle methods.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
hackerone
Date Reserved
2026-01-04T15:00:06.575Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 69cacda7e6bfc5ba1d6188b1

Added to database: 3/30/2026, 7:23:19 PM

Last enriched: 4/7/2026, 10:53:56 AM

Last updated: 5/15/2026, 2:55:22 AM

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses