Skip to content
OpenAdvisories
Low · 3.3 CVE-2026-21716 EUVD-2026-17180GHSA-22vj-v4r3-878v

An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permissi…

Published Mar 30, 2026 · Updated Mar 31, 2026 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
nodejs node 20.20.1 – ≤ 20.20.1, 22.22.1 – ≤ 22.22.1, 24.14.0 – ≤ 24.14.0, 25.8.1 – ≤ 25.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 22.22.2+dfsg+~cs22.19.15-1 —
Debian 13 nodejs 20.19.2+dfsg-1+deb13u2 DSA-6183-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nodejs No fix yet —
Ubuntu 26.04 LTS nodejs No fix yet —
Ubuntu 25.10 nodejs No fix yet —
Ubuntu 24.04 LTS nodejs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 14.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 nodejs24 +4 1:24.14.1-2.el10_1 RHSA-2026:7675
RHEL 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.el10_1 RHSA-2026:7675
RHEL 9 nodejs +4 1:24.14.1-2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 nodejs-packaging +1 2021.06-6.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 npm 1:11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666b RHSA-2026:7350
RHEL 8 nodejs +4 1:24.14.1-2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 nodejs-packaging +1 2021.06-6.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 npm 1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
RHEL 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75 RHSA-2026:7670
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs20 +6 20.20.0-7.1.hum1 RHSA-2026:7386
Red Hat Hardened Images 1 nodejs20-npm 10.8.2-1.20.20.0.7.1.hum1 RHSA-2026:7386
Red Hat Hardened Images 1 nodejs22 +6 22.22.0-1.3.hum1 RHSA-2026:7387
Red Hat Hardened Images 1 nodejs22-npm 10.9.4-1.22.22.0.1.3.hum1 RHSA-2026:7387
Red Hat Hardened Images 1 nodejs24 +6 24.14.1-4.hum1 RHSA-2026:6402
Red Hat Hardened Images 1 nodejs24-npm 11.11.0-1.24.14.1.4.hum1 RHSA-2026:6402
Red Hat Hardened Images 1 nodejs25 +6 25.9.0-1.hum1 RHSA-2026:6431
Red Hat Hardened Images 1 nodejs25-npm 11.12.1-1.25.9.0.1.hum1 RHSA-2026:6431

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nodejs24-docs 1:24.14.1-2.el10_1 ALSA-2026:7675
AlmaLinux 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.el10_1 ALSA-2026:7675
AlmaLinux 9 nodejs +4 1:24.14.1-2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 9 nodejs-nodemon 3.0.3-3.module_el9.7.0+209+ecf6523e ALSA-2026:7350
AlmaLinux 9 nodejs-packaging 2021.06-6.module_el9.7.0+209+ecf6523e ALSA-2026:7350
AlmaLinux 9 nodejs-packaging-bundler 2021.06-6.module_el9.7.0+198+8bf605ba ALSA-2026:7350
AlmaLinux 9 npm 1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1 ALSA-2026:7350
AlmaLinux 8 nodejs +4 1:24.14.1-2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670
AlmaLinux 8 nodejs-nodemon 3.0.3-1.module_el8.10.0+4061+f8ceeab9 ALSA-2026:7670
AlmaLinux 8 nodejs-packaging +1 2021.06-6.module_el8.10.0+4086+70facd4a ALSA-2026:7670
AlmaLinux 8 npm 1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670
AlmaLinux 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42 ALSA-2026:7670

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 nodejs24 1:24.14.1-2.el10_1 RLSA-2026:7675
Rocky Linux 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+40025+0e0cf6b2 RLSA-2026:7350
Rocky Linux 9 nodejs-packaging 2021.06-6.module+el9.7.0+40052+e32ea525 RLSA-2026:7350
Rocky Linux 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+2084+ab509703 RLSA-2026:7670
Rocky Linux 8 nodejs-packaging 2021.06-6.module+el8.10.0+40048+6d99f608 RLSA-2026:7670
ReleasePackageFixed inAdvisory
SLES 15 SP7 nodejs22 22.22.2-150700.3.9.1 SUSE-SU-2026:1478-1
SLES 15 SP7 nodejs24 24.14.1-150700.15.8.1 SUSE-SU-2026:1299-1
SLES 15 SP6 nodejs20 20.20.2-150600.3.18.1 SUSE-SU-2026:1363-1
SLES 15 SP6 nodejs22 22.22.2-150600.13.15.1 SUSE-SU-2026:1509-1
SLES 15 SP5 nodejs20 20.20.2-150500.11.27.1 SUSE-SU-2026:1371-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 nodejs22 22.23.0-160000.1.1 SUSE-SU-2026:22368-1
SLES for SAP 16.0 nodejs24 24.14.1-160000.1.1 SUSE-SU-2026:21181-1
SLES for SAP 15 SP6 nodejs20 20.20.2-150600.3.18.1 SUSE-SU-2026:1363-1
SLES for SAP 15 SP6 nodejs22 22.22.2-150600.13.15.1 SUSE-SU-2026:1509-1
SLES for SAP 15 SP5 nodejs20 20.20.2-150500.11.27.1 SUSE-SU-2026:1371-1
SLES 16.0 nodejs22 22.23.0-160000.1.1 SUSE-SU-2026:22368-1
SLES 16.0 nodejs24 24.14.1-160000.1.1 SUSE-SU-2026:21181-1
SLE HPC 15 SP5 nodejs20 20.20.2-150500.11.27.1 SUSE-SU-2026:1371-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs24 24.14.1-1.1 openSUSE-SU-2026:10504-1
openSUSE Tumbleweed nodejs26 26.3.1-1.1 openSUSE-SU-2026:11110-1
openSUSE Leap 16.0 nodejs22 22.23.0-160000.1.1 openSUSE-SU-2026:21058-1
openSUSE Leap 16.0 nodejs24 24.14.1-160000.1.1 openSUSE-SU-2026:20519-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 24.14.1-r0 —
Alpine v3.23 nodejs 24.14.1-r0 —
Alpine v3.22 nodejs 22.22.2-r0 —
Alpine v3.21 nodejs 22.22.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs20 +4 1:20.20.2-1.amzn2023.0.1 ALAS2023-2026-1577
Amazon Linux 2023 nodejs20-npm 1:10.8.2-1.20.20.2.1.amzn2023.0.1 ALAS2023-2026-1577
Amazon Linux 2023 nodejs22 +4 1:22.22.2-1.amzn2023.0.1 ALAS2023-2026-1576
Amazon Linux 2023 nodejs22-npm 1:10.9.7-1.22.22.2.1.amzn2023.0.1 ALAS2023-2026-1576
Amazon Linux 2023 nodejs24 +4 1:24.14.1-1.amzn2023.0.1 ALAS2023-2026-1578
Amazon Linux 2023 nodejs24-npm 1:11.11.0-1.24.14.1.1.amzn2023.0.1 ALAS2023-2026-1578
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.20.2.1.amzn2023.0.1 ALAS2023-2026-1577
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.22.2.1.amzn2023.0.1 ALAS2023-2026-1576
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.14.1.1.amzn2023.0.1 ALAS2023-2026-1578

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 20.14.0-15 —
Azure Linux 3 nodejs24 24.14.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 nodejs24 +4 1:24.14.1-2.0.2.el10_1 ELSA-2026-7675
Oracle Linux 10 nodejs24-npm 1:11.11.0-1.24.14.1.2.0.2.el10_1 ELSA-2026-7675
Oracle Linux 9 nodejs +4 1:24.14.1-2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 nodejs-nodemon 3.0.3-3.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 nodejs-packaging +1 2021.06-6.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 npm 1:11.11.0-1.24.14.1.2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 9 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el9.7.0+90866+5a953a4c ELSA-2026-7350
Oracle Linux 8 nodejs +4 1:24.14.1-2.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 nodejs-nodemon 3.0.3-1.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 nodejs-packaging +1 2021.06-6.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 npm 1:11.11.0-1.24.14.1.2.module+el8.10.0+90873+35652ecc ELSA-2026-7670
Oracle Linux 8 v8-13.6-devel 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+90873+35652ecc ELSA-2026-7670

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 +3 No fix yet —
Wolfi rolling nodejs-22 22.22.3-r0 —

Advisories 34

References