Improper access control in Node.js - CVE-2026-58043
Published: July 29, 2026 / Updated: July 29, 2026
Vulnerability details
The vulnerability allows a local user to read from or write to paths outside the intended filesystem allowlist.
The vulnerability exists due to improper access control in Node.js Permission Model path matching when handling radix-tree prefix boundaries under --permission. A local user can abuse prefix boundary handling to read from or write to paths outside the intended filesystem allowlist.
The issue applies only when the Permission Model is enabled with --permission.
Affected software
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Web and Scripting Module
openSUSE Leap
nodejs22 (Red Hat package)
nodejs22-debuginfo
nodejs22-docs
nodejs22-devel
npm22
corepack22
nodejs22
nodejs22-debugsource
nodejs24-devel
nodejs24-debuginfo
nodejs24-debugsource
nodejs24
npm24
nodejs24-docs
nodejs24 (Red Hat package)
How to mitigate CVE-2026-58043
nodejs22 (Red Hat package) - update to 22.23.2-1.el10_2
nodejs22-debuginfo - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
nodejs22-docs - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
nodejs22-devel - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
npm22 - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
corepack22 - update to 22.23.2-150600.13.24.1
nodejs22 - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
nodejs22-debugsource - addressed in versions 22.23.2-150600.13.24.1, 22.23.2-150700.3.18.1
nodejs24-devel - update to 24.18.1-150700.15.16.1
nodejs24-debuginfo - update to 24.18.1-150700.15.16.1
nodejs24-debugsource - update to 24.18.1-150700.15.16.1
nodejs24 - update to 24.18.1-150700.15.16.1
npm24 - update to 24.18.1-150700.15.16.1
nodejs24-docs - update to 24.18.1-150700.15.16.1
nodejs24 (Red Hat package) - update to 24.19.0-1.el10_2
External References
Related Security Bulletins
- Multiple vulnerabilities in Node.js
- Red Hat Enterprise Linux 10 update for nodejs22
- Red Hat Enterprise Linux 10 update for nodejs24
- SUSE update for nodejs24
- SUSE update for nodejs22
- SUSE update for nodejs22
- Red Hat Enterprise Linux 9 update for the nodejs:22 module
- Red Hat Enterprise Linux 9 update for the nodejs:24 module
- Red Hat Enterprise Linux 8 update for the nodejs:24 module