CVE-2026-58043 in Node.js: Fixed in 26.5.1, 24.18.1 and 22.23.2, Verified by Its Own Test

Security release July 29, 2026 · Tested November 28, 2026 · Official advisory

Permission Model: --allow-fs-read/--allow-fs-write radix-tree prefix-boundary over-grant

Our Test

Node.js fixed CVE-2026-58043 with a test of its own. We ran it unchanged on the release before the fix and on the fixed release, each twice, every run in a fresh isolated container.

Node.js 2626.5.0 → 26.5.1

Tested November 28, 2026 · node:26.5.0-slim and node:26.5.1-slim · fix commit ad99d07

Node.js 2424.18.0 → 24.18.1its test fails before, passes after

Tested November 28, 2026 · node:24.18.0-slim and node:24.18.1-slim · fix commit ea26c12

Node.js 2222.23.1 → 22.23.2its test fails before, passes after

Tested November 28, 2026 · node:22.23.1-slim and node:22.23.2-slim · fix commit 440329f

Which Version Has the Fix

How we tested, and how to repeat it
  • The test files: what Node.js's fix commits for CVE-2026-58043 added or changed, taken withtest/common and the fixtures they use from the official source tarball of each fixed release, checked against its SHASUMS256.txt.
  • Each version ran them twice, each time in a new container from the official image node:<version>-slim(the nodejs.org release binary), with no network, no mounts, no root and every privilege dropped; each container was removed after its run.
  • We call the fix verified only when every test of it passes on the fixed release in both runs and at least one fails on the release before it in both runs. A CVE whose test does not show that gets no page.

To repeat the first test (with the options its first line asks for):

curl -O https://nodejs.org/dist/v26.5.1/node-v26.5.1.tar.xz
tar -xf node-v26.5.1.tar.xz node-v26.5.1/test
cd node-v26.5.1
docker run --rm --network none -v "$PWD/test:/src/test" -w /src node:26.5.0-slim node --permission --allow-fs-read=* --allow-fs-write=* --allow-child-process test/parallel/test-permission-fs-read.js
docker run --rm --network none -v "$PWD/test:/src/test" -w /src node:26.5.1-slim node --permission --allow-fs-read=* --allow-fs-write=* --allow-child-process test/parallel/test-permission-fs-read.js

Sources

Code builds this page from the Node.js Security Working Group record and our own test run; nobody edits the result. Spotted a mistake? Report a correction.