CVE-2026-58043
published 2026-07-30CVE-2026-58043: A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries. Under `--permission`, an attacker who is…
PriorityP344high8.4CVSS 3.1
AVLACLPRLUINSCCHIHAN
EPSS
0.15%
4.0th percentile
A 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**.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| nodejs | node | 22.23.1 – 22.23.1 | — |
| nodejs | node | 24.18.0 – 24.18.0 | — |
| nodejs | node | 26.12.0 – 26.12.0 | — |
| nodejs | node | 26.5.0 – 26.5.0 | — |
| nodejs | node.js | 22.0 – 22.23.1 | — |
| nodejs | node.js | 24.0.0 – 24.18.0 | — |
| nodejs | node.js | 26.0.0 – 26.5.0 | — |
CVSS provenance
nvdv3.18.4HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
nvdv3.07.5HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard `--allow-fs-read` or `--allow-fs-write` rule.
ghsa_unreviewed·2026-10-23·CVSS 8.4
CVE-2026-106071 [HIGH] CWE-284 A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard `--allow-fs-read` or `--allow-fs-write` rule.
A flaw in Node.js Permission Model filesystem enforcement can grant access to paths that do not match a wildcard `--allow-fs-read` or `--allow-fs-write` rule.
When the requested path is shorter than the prefix of a wildcard grant, the radix tree lookup stops comparing early and treats the path as a match. For example, `--allow-fs-read=/etc/passwd.*` also allows reading `/etc/passwd`. This requires the wildcard grant to sit directly under the root of the permission tree, for example when it is the only grant for that scope. This is a different root cause from CVE-2026-58043.
This vulnerability affects Node.js **26.x**.
GHSA
A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries.
ghsa_unreviewed·2026-07-30
CVE-2026-58043 [HIGH] CWE-284 A flaw in Node.js Permission Model enforcement can over-grant filesystem access across radix-tree prefix boundaries.
A 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**.
Red Hat
nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
vendor_redhat·2026-07-30·CVSS 7.5
CVE-2026-58043 [HIGH] CWE-551 nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
A 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**.
A flaw was found in Node.js. When the `--permission` flag is active, an attacker with limited file system access can exploit a vulnerability in the Permission Model's enforcement. This allows them to read from or write to files and directories that are outside of their authorized access, potentially leading to unauthorized information disclo
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-58043 nodejs22: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
bugzilla·2026-08-07·CVSS 7.5
CVE-2026-58043 [HIGH] CVE-2026-58043 nodejs22: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
CVE-2026-58043 nodejs22: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
A 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**.
Bugzilla
CVE-2026-58043 nodejs24: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
bugzilla·2026-08-07·CVSS 7.5
CVE-2026-58043 [HIGH] CVE-2026-58043 nodejs24: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
CVE-2026-58043 nodejs24: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
A 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**.
Bugzilla
CVE-2026-58043 nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
bugzilla·2026-07-30·CVSS 7.5
CVE-2026-58043 [HIGH] CVE-2026-58043 nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
CVE-2026-58043 nodejs: Node.js: Unauthorized filesystem access due to Permission Model enforcement flaw
A 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**.
2026-07-30
Published