Incorrect Execution-Assigned Permissions Affecting nodejs20 package, versions <0:20.20.0-7.1.hum1


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-NODEJS20-16010638
  • published19 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

NewCVE-2026-21716  (opens in a new tab)
CWE-279  (opens in a new tab)

How to fix?

Upgrade RHEL:10 nodejs20 to version 0:20.20.0-7.1.hum1 or higher.
This issue was patched in RHSA-2026:7386.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs20 package and not the nodejs20 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1