CVE-2026-58043: Node.js Permission Model filesystem access bypass

CVE-2026-58043 · Severity: high · CVSS 7.5 · Published 2026-07-30

A security flaw in Node.js allows an attacker to bypass filesystem restrictions when the experimental Permission Model is enabled. By exploiting how the system handles file path boundaries, a user who is granted access to one specific folder could potentially read or write files in unauthorized locations. This could lead to the exposure of sensitive data or the modification of critical system files.

Quick answers

Is CVE-2026-58043 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-58043 being exploited in the wild.
How severe is CVE-2026-58043?
High severity, with a CVSS score of 7.5, published 30 July 2026.
Which products and versions are affected?
Node.js Foundation Node.js 22.x, 24.x, 26.x.
Is there a fix for CVE-2026-58043?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-58043 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-58043?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A vulnerability exists in the Node.js Permission Model (enabled via the --permission flag) due to improper boundary handling in the radix-tree prefix matching logic. An attacker with existing low-privileged access to a permitted path can craft requests that traverse beyond the intended filesystem allowlist. This allows for unauthorized read and write access to files outside the restricted scope. The issue affects Node.js versions 22.x, 24.x, and 26.x, and has been addressed in security updates v22.23.2, v24.18.1, and v26.5.1.

Affected products

  • Node.js Foundation Node.js 22.x, 24.x, 26.x

Timeline

  • 2026-07-29: advisory: Node.js project security release announcement
  • 2026-07-30: disclosed: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.