Description
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used.
This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to.
This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeJS | Node | 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 19.0 – < 19.*, 20.0 – < 20.15.1, 21.0 – < 21.*, 22.0 – < 22.4.1 | 4.* |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 20.15.1+dfsg-1 | — |
| Debian 13 | nodejs | 20.15.1+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | nodejs | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:20.16.0-1.module+el9.4.0+22197+9e60f127 | RHSA-2024:5815 |
| RHEL 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0.z+20478+84a9f781 | RHSA-2024:5815 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.3.0+19518+63aad52d | RHSA-2024:5815 |
| RHEL 9 | npm | 1:10.8.1-1.20.16.0.1.module+el9.4.0+22197+9e60f127 | RHSA-2024:5815 |
| RHEL 8 | nodejs +3 | 1:20.16.0-1.module+el8.10.0+22203+a88c8310 | RHSA-2024:5814 |
| RHEL 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:5814 |
| RHEL 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:5814 |
| RHEL 8 | npm | 1:10.8.1-1.20.16.0.1.module+el8.10.0+22203+a88c8310 | RHSA-2024:5814 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:20.16.0-1.module_el9.4.0+107+dbd477e4 | ALSA-2024:5815 |
| AlmaLinux 9 | nodejs-nodemon | 3.0.1-1.module_el9.3.0+47+c33bc288 | ALSA-2024:5815 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-4.module_el9.3.0+88+29afeaa2 | ALSA-2024:5815 |
| AlmaLinux 9 | npm | 1:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e4 | ALSA-2024:5815 |
| AlmaLinux 8 | nodejs +3 | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.1-1.module_el8.9.0+3731+490e3ce5 | ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-packaging +1 | 2021.06-4.module_el8.9.0+3775+d8460d35 | ALSA-2024:5814 |
| AlmaLinux 8 | npm | 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db | ALSA-2024:5814 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+31770+0da7192d | RLSA-2024:5815 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2024:5815 |
| Rocky Linux 8 | nodejs | 1:20.16.0-1.module+el8.10.0+1856+4cdb8df5 | RLSA-2024:5814 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.10.0+1666+930e28e8 | RLSA-2024:5814 |
| Rocky Linux 8 | nodejs-packaging | 2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2024:5814 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | nodejs20 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 |
| SLES 15 SP5 | nodejs20 | 20.15.1-150500.11.12.2 | SUSE-SU-2024:2543-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs20 | 20.15.1-1.1 | openSUSE-SU-2024:14214-1 |
| openSUSE Tumbleweed | nodejs22 | 22.10.0-1.1 | openSUSE-SU-2024:14435-1 |
| openSUSE Tumbleweed | nodejs24 | 24.11.1-2.1 | openSUSE-SU-2025:15802-1 |
| openSUSE Tumbleweed | nodejs26 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
| openSUSE Leap 15.6 | nodejs20 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 |
| openSUSE Leap 15.5 | nodejs20 | 20.15.1-150500.11.12.2 | SUSE-SU-2024:2543-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 20.15.1-r0 | — |
| Alpine v3.23 | nodejs | 20.15.1-r0 | — |
| Alpine v3.22 | nodejs | 20.15.1-r0 | — |
| Alpine v3.21 | nodejs | 20.15.1-r0 | — |
| Alpine v3.20 | nodejs | 20.15.1-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 20.15.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs20 +4 | 1:20.18.0-1.amzn2023.0.2 | ALAS2023-2024-768 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.8.2-1.20.18.0.1.amzn2023.0.2 | ALAS2023-2024-768 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.18.0.1.amzn2023.0.2 | ALAS2023-2024-768 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs | 24.14.1-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nodejs +3 | 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 | ELSA-2024-5815 |
| Oracle Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-5815 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-5815 |
| Oracle Linux 9 | npm | 1:10.8.1-1.20.16.0.1.module+el9.4.0+90390+ec2aa9c0 | ELSA-2024-5815 |
| Oracle Linux 8 | nodejs +3 | 1:20.16.0-1.module+el8.10.0+90391+162fb07b | ELSA-2024-5814 |
| Oracle Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-5814 |
| Oracle Linux 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-5814 |
| Oracle Linux 8 | npm | 1:10.8.1-1.20.16.0.1.module+el8.10.0+90391+162fb07b | ELSA-2024-5814 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nodejs-20 | 20.15.1-r0 | — |
| Wolfi rolling | nodejs-21 | No fix yet | — |
| Wolfi rolling | nodejs-22 | 22.4.1-r0 | — |
Advisories 18
- ALSA-2024:5815 Moderate: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:5814 Moderate: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:5814 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- openSUSE-SU-2026:11110-1 nodejs26-26.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 24, 2026
- WID-SEC-2024-1548 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- openSUSE-SU-2025:15802-1 corepack24-24.11.1-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- RHSA-2024:5815 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RLSA-2024:5814 Moderate: nodejs:20 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:2574-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2543-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14214-1 corepack20-20.15.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14435-1 corepack22-22.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2024:5815 Moderate: nodejs:20 security update Rocky Linux Security Advisories · Oct 9, 2025
- NCSC-2025-0023 Kwetsbaarheden verholpen in Oracle PeopleSoft NCSC-NL (Netherlands) · Jan 22, 2025
- ALAS2023-2024-768 Moderate: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 14, 2024
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
- ELSA-2024-5815 Moderate: nodejs:20 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 26, 2024
- ELSA-2024-5814 Moderate: nodejs:20 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 26, 2024