CVE-2026-58043

NameCVE-2026-58043
DescriptionA flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries. Under `--permission`, an attacker who is granted access to one path can abuse boundary handling to read from or write to paths outside the intended filesystem allowlist. This vulnerability affects Node.js **main**, **22.x**, **24.x**, and **26.x**.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nodejs (PTS)bullseye12.22.12~dfsg-1~deb11u4fixed
bullseye (security)12.22.12~dfsg-1~deb11u8fixed
bookworm, bookworm (security)18.20.4+dfsg-1~deb12u2fixed
trixie (security), trixie20.19.2+dfsg-1+deb13u2vulnerable
forky, sid24.19.0+dfsg+~cs24.13.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nodejssourcebullseye(not affected)
nodejssourcebookworm(not affected)
nodejssource(unstable)24.19.0+dfsg+~cs24.13.3-1

Notes

[bookworm] - nodejs <not-affected> (Permission Model is a Node 20+ feature)
[bullseye] - nodejs <not-affected> (Permission Model is a Node 20+ feature)
https://nodejs.org/en/blog/vulnerability/july-2026-security-releases#permission-model-path-matching-can-over-grant-filesystem-access-cve-2026-58043---high
Fixed by: https://github.com/nodejs/node/commit/440329f6247c8abb4c7cb4217e5a546ad41cd5ed (v22.23.2)

Search for package or bug name: Reporting problems