CVE-2026-58043·Node.js vulnerability
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**.
- Severity
- high
- Software
- Node.js
- Fixed in
- 20.19.2+dfsg-1+deb13u3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.15% — higher than 4% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-58043 scores 8.4 on CVSS, so a successful attack would be serious — but at 0.15%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 26.0.0
Until: 26.5.0
Fixed in: 20.19.2+dfsg-1+deb13u3
How to fix this CVE
Update Node.js to version 20.19.2+dfsg-1+deb13u3 or later to patch the permission model enforcement flaw that allows unauthorized filesystem access beyond configured allowlist boundaries. Systems running Node.js with the --permission flag enabled are at risk and should prioritize this update immediately. Verify the fix by confirming the new version is running and re-test permission boundaries with your existing allowlist configuration.
sudo dnf update nodejsDefensia detects this vulnerability
How to check if you are affected
- Run `node --version` to check the currently installed Node.js version and compare against 20.19.2+dfsg-1+deb13u3
- Check if Node.js processes are running with the --permission flag by executing `ps aux | grep 'node.*--permission'`
- Review Node.js application configuration files and startup scripts for permission model directives or allowlist definitions
- After patching, re-run permission-restricted Node.js processes and attempt to access paths outside the allowlist to confirm boundary enforcement is working correctly
FAQ
What is CVE-2026-58043?
This vulnerability exploits a flaw in Node.js permission model enforcement where the radix-tree prefix boundary handling is inadequate, allowing a process with access to a permitted path to read from or write to unintended paths outside the configured filesystem allowlist through boundary-adjacent path manipulation.
Is CVE-2026-58043 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been released, but organizations using the --permission flag should still prioritize patching.
What versions of Node.js are affected by CVE-2026-58043?
Node.js main branch, 22.x, 24.x, and 26.x versions are affected; Debian systems with nodejs versions prior to 20.19.2+dfsg-1+deb13u3 are vulnerable.
How do I check if my server is vulnerable to CVE-2026-58043?
Run `node --version` and verify the output is 20.19.2+dfsg-1+deb13u3 or later; additionally, confirm that your Node.js startup configuration includes the --permission flag with defined filesystem allowlist rules.
Does Defensia detect CVE-2026-58043?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Node.js is installed on a monitored server, CVE-2026-58043 will appear in your dashboard with remediation steps.
Related Node.js CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-58043. Free for 1 server.
Get started free