Description
A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.
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.21.3, 15.0 – < 15.*, 16.0 – < 16.19.1, 17.0 – < 17.*, 18.0 – < 18.14.1, 19.0 – < 19.6.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 | 18.19.0+dfsg-2 | — |
| Debian 13 | nodejs | 18.19.0+dfsg-2 | — |
| Debian 12 | nodejs | 18.19.0+dfsg-6~deb12u1 | DSA-5589-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:16.19.1-1.el9_2 | RHSA-2023:2655, RHSA-2023:2654 |
| RHEL 9 | nodejs-devel | 1:18.14.2-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2654 |
| RHEL 9 | nodejs-nodemon | 2.0.20-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2655, RHSA-2023:2654 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:2654 |
| RHEL 9 | npm | 1:8.19.3-1.16.19.1.1.el9_2 | RHSA-2023:2655, RHSA-2023:2654 |
| RHEL 8 | nodejs +3 | 1:14.21.3-1.module+el8.7.0+18531+81d21ca6 | RHSA-2023:1743, RHSA-2023:1583, RHSA-2023:1582 |
| RHEL 8 | nodejs-nodemon | 2.0.20-2.module+el8.7.0+18445+9493b6ea | RHSA-2023:1743, RHSA-2023:1583, RHSA-2023:1582 |
| RHEL 8 | nodejs-packaging | 23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2023:1743, RHSA-2023:1583, RHSA-2023:1582 |
| RHEL 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:1583 |
| RHEL 8 | npm | 1:6.14.18-1.14.21.3.1.module+el8.7.0+18531+81d21ca6 | RHSA-2023:1743, RHSA-2023:1583, RHSA-2023:1582 |
| RHEL 3 | rh-nodejs14 +2 | 3.6-2.el7 | RHSA-2023:1744 |
| RHEL 3 | rh-nodejs14-nodejs +3 | 14.21.3-2.el7 | RHSA-2023:1744 |
| RHEL 3 | rh-nodejs14-npm | 6.14.18-14.21.3.2.el7 | RHSA-2023:1744 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | nodejs +3 | 1:14.21.3-1.module+el8.6.0+18532+cbe6f646 | RHSA-2023:1742 |
| RHEL 8.6 EUS | nodejs-nodemon | 2.0.20-3.module+el8.6.0+18532+cbe6f646 | RHSA-2023:1742 |
| RHEL 8.6 EUS | nodejs-packaging | 23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2023:1742 |
| RHEL 8.6 EUS | npm | 1:6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646 | RHSA-2023:1742 |
| RHEL 8.4 EUS | nodejs +3 | 1:14.21.3-1.module+el8.4.0+18317+43f5ac16 | RHSA-2023:1533 |
| RHEL 8.4 EUS | nodejs-nodemon | 2.0.20-3.module+el8.4.0+18317+43f5ac16 | RHSA-2023:1533 |
| RHEL 8.4 EUS | nodejs-packaging | 23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2023:1533 |
| RHEL 8.4 EUS | npm | 1:6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16 | RHSA-2023:1533 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:16.19.1-1.el9_2 | ALSA-2023:2655, ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-devel | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-nodemon | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux 9 | npm | 1:8.19.3-1.16.19.1.1.el9_2 | ALSA-2023:2655, ALSA-2023:2654 |
| AlmaLinux 8 | nodejs +3 | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743, ALSA-2023:1583, ALSA-2023:1582 |
| AlmaLinux 8 | nodejs-nodemon | 2.0.20-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1743, ALSA-2023:1583, ALSA-2023:1582 |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2023:1743, ALSA-2023:1583, ALSA-2023:1582 |
| AlmaLinux 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:1583 |
| AlmaLinux 8 | npm | 1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743, ALSA-2023:1583, ALSA-2023:1582 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs | 1:16.19.1-1.el9_2 | RLSA-2023:2655 |
| Rocky Linux 9 | nodejs-nodemon | 2.0.20-3.el9_2 | RLSA-2023:2655 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.7.0+40017+f0db1785 | RLSA-2023:2654 |
| Rocky Linux 8 | nodejs | 1:14.21.3-1.module+el8.7.0+1183+c2c35f0a | RLSA-2023:1743, RLSA-2023:1583, RLSA-2023:1582 |
| Rocky Linux 8 | nodejs-nodemon | 2.0.20-2.module+el8.7.0+1108+49363b0d | RLSA-2023:1743, RLSA-2023:1583, RLSA-2023:1582 |
| Rocky Linux 8 | nodejs-packaging | 23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2023:1743, RLSA-2023:1583, RLSA-2023:1582 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | nodejs16 | 16.19.1-150400.3.15.1 | SUSE-SU-2023:0608-1 |
| SLES 15 SP4 | nodejs18 | 18.14.2-150400.9.6.2 | SUSE-SU-2023:0738-1 |
| SLES 15 SP3 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLES 15 SP3 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SLES 15 SP3 | nodejs16 | 16.19.1-150300.7.18.1 | SUSE-SU-2023:0673-1 |
| SLES 15 SP2 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLES 15 SP2 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SLES 12 | nodejs14 | 14.21.3-6.40.1 | SUSE-SU-2023:0607-1 |
| SLES 12 | nodejs16 | 16.19.1-8.24.1 | SUSE-SU-2023:0609-1 |
| SLES 12 | nodejs18 | 18.14.2-8.6.2 | SUSE-SU-2023:0715-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLES for SAP 15 SP3 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SLES for SAP 15 SP3 | nodejs16 | 16.19.1-150300.7.18.1 | SUSE-SU-2023:0673-1 |
| SLES for SAP 15 SP2 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLES for SAP 15 SP2 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SLE HPC 15 SP3 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLE HPC 15 SP3 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SLE HPC 15 SP3 | nodejs16 | 16.19.1-150300.7.18.1 | SUSE-SU-2023:0673-1 |
| SLE HPC 15 SP2 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SLE HPC 15 SP2 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SUSE Manager Server 4.2 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SUSE Manager Server 4.2 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SUSE Manager Server 4.2 | nodejs16 | 16.19.1-150300.7.18.1 | SUSE-SU-2023:0673-1 |
| SUSE Enterprise Storage 7.1 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SUSE Enterprise Storage 7.1 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| SUSE Enterprise Storage 7.1 | nodejs16 | 16.19.1-150300.7.18.1 | SUSE-SU-2023:0673-1 |
| SUSE Enterprise Storage 7 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| SUSE Enterprise Storage 7 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs18 | 18.14.2-1.1 | openSUSE-SU-2024:12725-1 |
| openSUSE Tumbleweed | nodejs19 | 19.7.0-1.1 | openSUSE-SU-2024:12726-1 |
| openSUSE Leap 15.4 | nodejs12 | 12.22.12-150200.4.50.1 | SUSE-SU-2023:3455-1 |
| openSUSE Leap 15.4 | nodejs14 | 14.21.3-150200.15.43.1 | SUSE-SU-2023:0674-1 |
| openSUSE Leap 15.4 | nodejs16 | 16.19.1-150400.3.15.1 | SUSE-SU-2023:0608-1 |
| openSUSE Leap 15.4 | nodejs18 | 18.14.2-150400.9.6.2 | SUSE-SU-2023:0738-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 18.14.1-r0 | — |
| Alpine v3.23 | nodejs | 18.14.1-r0 | — |
| Alpine v3.22 | nodejs | 18.14.1-r0 | — |
| Alpine v3.21 | nodejs | 18.14.1-r0 | — |
| Alpine v3.20 | nodejs | 18.14.1-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 18.14.1-r0 | — |
| Alpine v3.18 | nodejs | 18.14.1-r0 | — |
| Alpine v3.17 | nodejs | 18.14.1-r0 | — |
| Alpine v3.16 | nodejs | 16.19.1-r0 | — |
| Alpine v3.15 | nodejs | 16.19.1-r0 | — |
| Alpine v3.14 | nodejs | 14.21.3-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs +4 | 1:18.12.1-1.amzn2023.0.6 | ALAS2023-2023-243 |
| Amazon Linux 2023 | npm | 1:8.19.2-1.18.12.1.1.amzn2023.0.6 | ALAS2023-2023-243 |
| Amazon Linux 2023 | v8-devel | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.6 | ALAS2023-2023-243 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | nodejs | 16.19.1-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nodejs +3 | 1:16.19.1-1.el9_2 | ELSA-2023-2655, ELSA-2023-2654 |
| Oracle Linux 9 | nodejs-devel | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
| Oracle Linux 9 | nodejs-nodemon | 2.0.20-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2655, ELSA-2023-2654 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-2654 |
| Oracle Linux 9 | npm | 1:8.19.3-1.16.19.1.1.el9_2 | ELSA-2023-2655, ELSA-2023-2654 |
| Oracle Linux 8 | nodejs +3 | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743, ELSA-2023-1583, ELSA-2023-1582 |
| Oracle Linux 8 | nodejs-nodemon | 2.0.20-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1743, ELSA-2023-1583, ELSA-2023-1582 |
| Oracle Linux 8 | nodejs-packaging | 23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2023-1743, ELSA-2023-1583, ELSA-2023-1582 |
| Oracle Linux 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-1583 |
| Oracle Linux 8 | npm | 1:6.14.18-1.14.21.3.1.module+el8.7.0+21031+52889874 | ELSA-2023-1743, ELSA-2023-1583, ELSA-2023-1582 |
Advisories 39
- ALSA-2023:2654 Moderate: nodejs:18 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:2655 Moderate: nodejs and nodejs-nodemon security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:1583 Moderate: nodejs:18 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:1582 Moderate: nodejs:16 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:1743 Important: nodejs:14 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:1742 Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2023:2654 Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:2655 Red Hat Security Advisory: nodejs and nodejs-nodemon security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1744 Red Hat Security Advisory: rh-nodejs14-nodejs security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1743 Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1582 Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1583 Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1533 Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- DSA-5589-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:1582 Moderate: nodejs:16 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2023:1583 Moderate: nodejs:18 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2023:1743 Important: nodejs:14 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2023:2655 Moderate: nodejs and nodejs-nodemon security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12726-1 corepack19-19.7.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0607-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0674-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0609-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0738-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0715-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12725-1 corepack18-18.14.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3455-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0608-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- RLSA-2023:2654 Moderate: nodejs:18 security, bug fix, and enhancement update Rocky Linux Security Advisories · Dec 3, 2025
- WID-SEC-2023-0414 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 2, 2025
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- SUSE-SU-2023:0673-1 Security update for nodejs16 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-0064 Juniper Produkte: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 10, 2025
- ALAS2023-2023-243 Moderate: nodejs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2023
- ELSA-2023-2655 Moderate: nodejs and nodejs-nodemon security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 17, 2023
- ELSA-2023-2654 Moderate: nodejs:18 security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 17, 2023
- ELSA-2023-1743 Important: nodejs:14 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 12, 2023
- ELSA-2023-1582 Moderate: nodejs:16 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 5, 2023
- ELSA-2023-1583 Moderate: nodejs:18 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 5, 2023