Intel

AIKIDO-2026-372565

node is vulnerable to Improper Access Control

Improper Access ControlCVE-2026-58039 Published 3 days ago

30

Low Risk

This Affects:

OSnode
0.0.1 - 22.23.1
Fixed in 22.23.2
23.0.0 - 24.18.0
Fixed in 24.18.1
25.0.0 - 26.5.0
Fixed in 26.5.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package allow a permissions bypass in the Node.js Permission Model, where process.report can write and overwrite files outside --allow-fs-write paths. Permission checks were applied against the current working directory or an incomplete path rather than the final report output path (including process.report.directory), so setting the report directory to a denied location still succeeded. This breaks the intended filesystem allowlist boundary and can lead to unauthorized writes or overwrites under --permission.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and run Node.js with the Permission Model (--permission) enabled.

Background info

node is vulnerable to Improper Access Control in versions 25.0.0 - 26.5.0, 23.0.0 - 24.18.0 and 0.0.1 - 22.23.1.

How to fix this

Upgrade the node library to a patch version.