high CVSS 8.4 EPSS 0.15%

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 nodejs

Defensia detects this vulnerability

How to check if you are affected

  1. Run `node --version` to check the currently installed Node.js version and compare against 20.19.2+dfsg-1+deb13u3
  2. Check if Node.js processes are running with the --permission flag by executing `ps aux | grep 'node.*--permission'`
  3. Review Node.js application configuration files and startup scripts for permission model directives or allowlist definitions
  4. 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

CVE-2026-21636CVSS 10A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled. Even without `--allow-net`, attacker-controlled inputs (such as URLs or socketPath options) can connect to arbitrary local sockets via net, tls, or undici/fetch. This breaks the intended security boundary of the permission model and enables access to privileged local services, potentially leading to privilege escalation, data exposure, or local code execution. * The issue affects users of the Node.js permission model on version v25. In the moment of this vulnerability, network permissions (`--allow-net`) are still in the experimental phase.
CVE-2026-111497CVSS 9.8A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream. Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.
CVE-2026-48930CVSS 9.8A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
CVE-2025-55130CVSS 9.1A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
CVE-2026-58042CVSS 9A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

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