Improper access control in Node.js - CVE-2026-56847

 

Improper access control in Node.js - CVE-2026-56847

Published: July 29, 2026 / Updated: July 29, 2026


Vulnerability identifier: #VU140046
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-56847
CWE-ID: CWE-284
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to write trace logs outside allowed filesystem paths.

The vulnerability exists due to improper access control in Node.js Permission Model enforcement when trace_events.createTracing().enable() writes trace logs. A local user can invoke trace_events.createTracing().enable() to write trace logs outside allowed filesystem paths.

This issue affects configurations that use the Permission Model with --allow-fs-write restrictions.


Affected software

Node.js
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Web and Scripting Module
openSUSE Leap
nodejs22-docs
nodejs22-devel
npm22
corepack22
nodejs22
nodejs22-debugsource
nodejs22-debuginfo
nodejs24-devel
nodejs24-debuginfo
nodejs24-debugsource
nodejs24
npm24
nodejs24-docs

How to mitigate CVE-2026-56847

Install security update from vendor's website.

Node.js - addressed in versions 22.23.2, 24.18.1, 26.5.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
nodejs22-debuginfo - 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

External References

Related Security Bulletins