Node.js up to 20.20.1/22.22.1/24.14.0/25.8.1 Promises API FileHandle.chmod/FileHandle.chown file descriptor consumption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.2$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in Node.js up to 20.20.1/22.22.1/24.14.0/25.8.1. This issue affects the function FileHandle.chmod/FileHandle.chown of the component Promises API. The manipulation leads to file descriptor consumption. This vulnerability is documented as CVE-2026-21716. The attack needs to be performed locally. There is not any exploit available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability was found in Node.js up to 20.20.1/22.22.1/24.14.0/25.8.1 and classified as problematic. This issue affects the function FileHandle.chmod/FileHandle.chown of the component Promises API. The manipulation with an unknown input leads to a file descriptor consumption vulnerability. Using CWE to declare the problem leads to CWE-769. This entry has been deprecated because it was a duplicate of CWE-774. All content has been transferred to CWE-774. Impacted is integrity. The summary by CVE is:

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.

The advisory is shared at nodejs.org. The identification of this vulnerability is CVE-2026-21716 since 01/04/2026. The exploitation is known to be easy. An attack has to be approached locally. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 304242 (Debian dsa-6183 : libnode-dev - security update), which helps to determine the existence of the flaw in a target environment.

Applying a patch is able to eliminate this problem.

The vulnerability is also documented in the databases at Tenable (304242) and EUVD (EUVD-2026-17180). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.3
VulDB Meta Temp Score: 3.2

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 3.3
CNA Vector (hackerone): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: File descriptor consumption
CWE: CWE-769 / CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 304242
Nessus Name: Debian dsa-6183 : libnode-dev - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Timelineinfo

01/04/2026 CVE reserved
03/30/2026 +85 days VulDB entry created
03/31/2026 +0 days Advisory disclosed
03/31/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: nodejs.org
Status: Confirmed

CVE: CVE-2026-21716 (🔒)
GCVE (CVE): GCVE-0-2026-21716
GCVE (VulDB): GCVE-100-354281
EUVD: 🔒

Entryinfo

Created: 03/31/2026 00:23
Updated: 03/31/2026 04:06
Changes: 03/31/2026 00:23 (63), 03/31/2026 00:40 (2), 03/31/2026 04:06 (1)
Complete: 🔍
Cache ID: 216:5F8:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!