CVE-2025-55130 nodejs: Nodejs file permissions bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
A flaw in Node.js’s Permissions model allows attackers to bypass --allow-fs-read and --allow-fs-write restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise.
This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Upgrade path
31 packages: 19 fixed, 12 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/nodejs:20-8100020260119100525.489197e6(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:20-9040020260211171433.rhel9(Red Hat rhel_eus 9.4) | All versions | No fix listed | No fix yet |
| redhat/nodejs:20-9060020260210180816.rhel9(Red Hat rhel_eus 9.6) | All versions | No fix listed | No fix yet |
| redhat/nodejs:20-9070020260117213748.rhel9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22-8100020260119091831.6d880403(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22-9060020260210120402.rhel9(Red Hat rhel_eus 9.6) | All versions | No fix listed | No fix yet |
| redhat/nodejs:22-9070020260117213838.rhel9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/nodejs:24-8100020260116121421.6d880403(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/nodejs:24-9070020260117213814.rhel9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| alpine/nodejs(Alpine v3.21) | < 22.22.2-r0 | 22.22.2-r0 | Fixed |
| alpine/nodejs(Alpine v3.22) | < 22.22.0-r0 | 22.22.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.23) | < 24.13.0-r0 | 24.13.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.24) | < 24.13.0-r0 | 24.13.0-r0 | Fixed |
| debian/nodejs(Debian 13) | < 20.19.2+dfsg-1+deb13u1; = 20.19.2+dfsg-1 | 20.19.2+dfsg-1+deb13u1 | Fixed |
| debian/nodejs(Debian 14) | < 22.22.0+dfsg+~cs22.19.6-1; = 20.19.2+dfsg-1; = 20.19.4+dfsg-1; = 20.19.5+dfsg+~cs20.19.12-1 +18 more | 22.22.0+dfsg+~cs22.19.6-1 | Fixed |
| nodejs node | >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1 | after 20.19.6, 22.21.1, 24.12.0, 25.2.1 | Fixed |
| nodejs node.js | >= 20.0.0, < 20.20.0; >= 22.0.0, < 22.22.0; >= 24.0.0, < 24.13.0; >= 25.0.0, < 25.3.0 | 20.20.0, 22.22.0, 24.13.0, 25.3.0 | Fixed |
| redhat enterprise linux | < 1:22.22.0-3.el10_1; < 1:24.13.0-1.el10_1; < 8100020260116121421.6d880403; < 8100020260119091831.6d880403 +4 more | 1:22.22.0-3.el10_1, 1:24.13.0-1.el10_1, 8100020260116121421.6d880403, 8100020260119091831.6d880403, 8100020260119100525.489197e6, 9070020260117213748.rhel9, 9070020260117213814.rhel9, 9070020260117213838.rhel9 | Fixed |
| redhat enterprise linux eus | < 1:22.22.0-1.el10_0 | 1:22.22.0-1.el10_0 | Fixed |
| redhat hummingbird | < 20.20.0-7.1.hum1; < 22.22.0-1.3.hum1; < 24.14.1-4.1.hum1; < 24.14.1-4.hum1 +2 more | 20.20.0-7.1.hum1, 22.22.0-1.3.hum1, 24.14.1-4.1.hum1, 24.14.1-4.hum1, 25.9.0-1.1.hum1, 25.9.0-1.hum1 | Fixed |
| redhat rhel eus | < 9040020260211171433.rhel9; < 9060020260210120402.rhel9; < 9060020260210180816.rhel9 | 9040020260211171433.rhel9, 9060020260210120402.rhel9, 9060020260210180816.rhel9 | Fixed |
| redhat/nodejs20-main(Red Hat hummingbird 1) | < 10.8.2-1.20.20.0.7.1.hum1; < 20.20.0-7.1.hum1 | 10.8.2-1.20.20.0.7.1.hum1, 20.20.0-7.1.hum1 | Fixed |
| redhat/nodejs22(Red Hat enterprise_linux 10.1) | < 1:22.22.0-3.el10_1 | 1:22.22.0-3.el10_1 | Fixed |
| redhat/nodejs22(Red Hat enterprise_linux_eus 10.0) | < 1:22.22.0-1.el10_0 | 1:22.22.0-1.el10_0 | Fixed |
| redhat/nodejs22-main(Red Hat hummingbird 1) | < 10.9.4-1.22.22.0.1.3.hum1; < 22.22.0-1.3.hum1 | 10.9.4-1.22.22.0.1.3.hum1, 22.22.0-1.3.hum1 | Fixed |
| redhat/nodejs24(Red Hat enterprise_linux 10.1) | < 1:24.13.0-1.el10_1 | 1:24.13.0-1.el10_1 | Fixed |
| redhat/nodejs24-main(Red Hat hummingbird 1) | < 11.11.0-1.24.14.1.4.1.hum1; < 11.11.0-1.24.14.1.4.hum1; < 24.14.1-4.1.hum1 | 11.11.0-1.24.14.1.4.1.hum1, 11.11.0-1.24.14.1.4.hum1, 24.14.1-4.1.hum1 | Fixed |
… and 1 more package.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nodejs(Debian:13) | < 20.19.2+dfsg-1+deb13u1 | 20.19.2+dfsg-1+deb13u1 |
| debian/nodejs(Debian:13) | = 20.19.2+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | < 22.22.0+dfsg+~cs22.19.6-1 | 22.22.0+dfsg+~cs22.19.6-1 |
| debian/nodejs(Debian:14) | = 20.19.2+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.4+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.5+dfsg+~cs20.19.12-1 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.5+dfsg+~cs20.19.12-2 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.5+dfsg+~cs20.19.12-3 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.5+dfsg+~cs20.19.12-4 | No fix listed |
| debian/nodejs(Debian:14) | = 20.19.5+dfsg+~cs20.19.24-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.12.0+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.12.0+dfsg-2 | No fix listed |
| debian/nodejs(Debian:14) | = 22.12.0+dfsg-3 | No fix listed |
| debian/nodejs(Debian:14) | = 22.14.0+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.18.0+dfsg+~cs22.17.2-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.18.0+dfsg+~cs22.17.2-2 | No fix listed |
| debian/nodejs(Debian:14) | = 22.18.0+dfsg-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.19.0+dfsg+~cs22.18.0-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-1 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-2 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-3 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-4 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-5 | No fix listed |
| debian/nodejs(Debian:14) | = 22.21.1+dfsg+~cs22.19.0-6 | No fix listed |
| nodejs node | >= 20.19.6, <= 20.19.6 | No fix listed |
Show 54 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | >= 22.21.1, <= 22.21.1 | No fix listed |
| nodejs node | >= 24.12.0, <= 24.12.0 | No fix listed |
| nodejs node | >= 25.2.1, <= 25.2.1 | No fix listed |
| redhat enterprise linux | < 1:24.13.0-1.el10_1 | 1:24.13.0-1.el10_1 |
| redhat enterprise linux | < 1:22.22.0-3.el10_1 | 1:22.22.0-3.el10_1 |
| redhat enterprise linux eus | < 1:22.22.0-1.el10_0 | 1:22.22.0-1.el10_0 |
| redhat enterprise linux | < 8100020260116121421.6d880403 | 8100020260116121421.6d880403 |
| redhat enterprise linux | < 8100020260119091831.6d880403 | 8100020260119091831.6d880403 |
| redhat enterprise linux | < 8100020260119100525.489197e6 | 8100020260119100525.489197e6 |
| redhat enterprise linux | < 9070020260117213814.rhel9 | 9070020260117213814.rhel9 |
| redhat enterprise linux | < 9070020260117213838.rhel9 | 9070020260117213838.rhel9 |
| redhat enterprise linux | < 9070020260117213748.rhel9 | 9070020260117213748.rhel9 |
| redhat rhel eus | < 9040020260211171433.rhel9 | 9040020260211171433.rhel9 |
| redhat rhel eus | < 9060020260210180816.rhel9 | 9060020260210180816.rhel9 |
| redhat rhel eus | < 9060020260210120402.rhel9 | 9060020260210120402.rhel9 |
| redhat hummingbird | < 24.14.1-4.1.hum1 | 24.14.1-4.1.hum1 |
| redhat hummingbird | < 24.14.1-4.hum1 | 24.14.1-4.hum1 |
| redhat hummingbird | < 25.9.0-1.1.hum1 | 25.9.0-1.1.hum1 |
| redhat hummingbird | < 25.9.0-1.hum1 | 25.9.0-1.hum1 |
| redhat hummingbird | < 20.20.0-7.1.hum1 | 20.20.0-7.1.hum1 |
| redhat hummingbird | < 22.22.0-1.3.hum1 | 22.22.0-1.3.hum1 |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| redhat/nodejs24(Red Hat:enterprise_linux:10.1) | < 1:24.13.0-1.el10_1 | 1:24.13.0-1.el10_1 |
| redhat/nodejs22(Red Hat:enterprise_linux:10.1) | < 1:22.22.0-3.el10_1 | 1:22.22.0-3.el10_1 |
| redhat/nodejs22(Red Hat:enterprise_linux_eus:10.0) | < 1:22.22.0-1.el10_0 | 1:22.22.0-1.el10_0 |
| redhat/nodejs:24-8100020260116121421.6d880403(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:22-8100020260119091831.6d880403(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:20-8100020260119100525.489197e6(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/nodejs:24-9070020260117213814.rhel9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:22-9070020260117213838.rhel9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:20-9070020260117213748.rhel9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/nodejs:20-9040020260211171433.rhel9(Red Hat:rhel_eus:9.4) | All versions | No fix listed |
| redhat/nodejs:20-9060020260210180816.rhel9(Red Hat:rhel_eus:9.6) | All versions | No fix listed |
| redhat/nodejs:22-9060020260210120402.rhel9(Red Hat:rhel_eus:9.6) | All versions | No fix listed |
| redhat/nodejs24-main(Red Hat:hummingbird:1) | < 11.11.0-1.24.14.1.4.hum1 | 11.11.0-1.24.14.1.4.hum1 |
| redhat/nodejs25-main(Red Hat:hummingbird:1) | < 11.12.1-1.25.9.0.1.hum1 | 11.12.1-1.25.9.0.1.hum1 |
| redhat/nodejs25-main(Red Hat:hummingbird:1) | < 11.12.1-1.25.9.0.1.1.hum1 | 11.12.1-1.25.9.0.1.1.hum1 |
| redhat/nodejs25-main(Red Hat:hummingbird:1) | < 25.9.0-1.1.hum1 | 25.9.0-1.1.hum1 |
| redhat/nodejs20-main(Red Hat:hummingbird:1) | < 10.8.2-1.20.20.0.7.1.hum1 | 10.8.2-1.20.20.0.7.1.hum1 |
| redhat/nodejs20-main(Red Hat:hummingbird:1) | < 20.20.0-7.1.hum1 | 20.20.0-7.1.hum1 |
| redhat/nodejs22-main(Red Hat:hummingbird:1) | < 10.9.4-1.22.22.0.1.3.hum1 | 10.9.4-1.22.22.0.1.3.hum1 |
| redhat/nodejs22-main(Red Hat:hummingbird:1) | < 22.22.0-1.3.hum1 | 22.22.0-1.3.hum1 |
| redhat/nodejs24-main(Red Hat:hummingbird:1) | < 11.11.0-1.24.14.1.4.1.hum1 | 11.11.0-1.24.14.1.4.1.hum1 |
| redhat/nodejs24-main(Red Hat:hummingbird:1) | < 24.14.1-4.1.hum1 | 24.14.1-4.1.hum1 |
| alpine/nodejs(Alpine:v3.21) | < 22.22.2-r0 | 22.22.2-r0 |
| alpine/nodejs(Alpine:v3.22) | < 22.22.0-r0 | 22.22.0-r0 |
| alpine/nodejs(Alpine:v3.23) | < 24.13.0-r0 | 24.13.0-r0 |
| alpine/nodejs(Alpine:v3.24) | < 24.13.0-r0 | 24.13.0-r0 |
| ubuntu/nodejs(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nodejs(Ubuntu:26.04) | All versions | No fix listed |
| nodejs node.js | >= 20.0.0, < 20.20.0 | 20.20.0 |
| nodejs node.js | >= 22.0.0, < 22.22.0 | 22.22.0 |
| nodejs node.js | >= 24.0.0, < 24.13.0 | 24.13.0 |
| nodejs node.js | >= 25.0.0, < 25.3.0 | 25.3.0 |
References
- Debian Security Tracker CVE-2025-55130 vendor-advisory
- nodejs.org release-notes vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2431352 issue-tracking
- security.access.redhat.com
- RHSA-2026:2899 patch vendor-advisory
- RHSA-2026:1843 patch vendor-advisory
- RHSA-2026:1842 patch vendor-advisory
- RHSA-2026:2422 patch vendor-advisory
- RHSA-2026:2421 patch vendor-advisory
- RHSA-2026:2420 patch vendor-advisory
- RHSA-2026:2768 patch vendor-advisory
- RHSA-2026:2767 patch vendor-advisory
- RHSA-2026:2864 patch vendor-advisory
- RHSA-2026:2783 patch vendor-advisory
- RHSA-2026:2782 patch vendor-advisory
- RHSA-2026:2781 patch vendor-advisory
- RHSA-2026:7386 patch vendor-advisory
- RHSA-2026:7387 patch vendor-advisory
- RHSA-2026:6402 patch vendor-advisory
- RHSA-2026:6431 patch vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- RHSA-2026:7378 patch vendor-advisory
- RHSA-2026:7657 patch vendor-advisory
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory