RepoJournal
Node.js

@nodejs

The Node.js runtime — every backend team's CVE source of truth

What actually shipped in Node.js, written up every day — commits, pull requests, releases, and security advisories.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

NODE FIXES STACK OVERFLOW IN RECURSIVE READDIR, PATCHES PERMISSION AUDIT MODE

By RepoJournal · Filed · About Node.js

A circular symlink crash in recursive directory traversal just got patched, and permission audit mode finally stops throwing errors when it should only warn.

Node shipped a critical fix for a denial-of-service vector in fs.readdirSync with recursive: true [1]. Circular symlinks would trigger unbounded recursion in the internal walk() helper, exhausting the call stack with RangeError and crashing the process. The existing symlink depth guard didn't protect this code path. Both sync and promise-based variants were vulnerable. In parallel, the permission system got a correctness fix: audit mode was still throwing ERR_ACCESS_DENIED on denied operations instead of just logging warnings [2]. The macros guarding fs, net, child_process, worker, and addon access now respect the warning_only() flag. On the streams side, share() had a buffering regression where the shared buffer could exceed its highWaterMark instead of applying backpressure [3]. These three fixes target real production pain: crashes from symlink traversal, broken audit workflows, and stream buffer overflow.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] vfs: prevent stack overflow in recursive readdir on circular symlinks ↗ nodejs/node
  2. [2] src,permission: do not throw on denied access in audit mode ↗ nodejs/node
  3. [3] stream: fix drop-newest behavior in share() nodejs/node

Quick answers

What shipped in Node.js on July 21, 2026?
A circular symlink crash in recursive directory traversal just got patched, and permission audit mode finally stops throwing errors when it should only warn. In total, 11 commits, 11 pull requests, and 1 releases landed.
Who contributed to Node.js on July 21, 2026?
8 developers shipped this update, including AkshatOP, edsadr, Trivikram Kamat, panva, YuSheng Chen, github-actions[bot], dependabot, and semantic-release-bot.
What were the notable Node.js updates?
vfs: prevent stack overflow in recursive readdir on circular symlinks, src,permission: do not throw on denied access in audit mode, and stream: fix drop-newest behavior in share().

More from @nodejs

Daily updates, in your inbox

Follow Node.js

What actually shipped in Node.js, written up every day — commits, pull requests, releases, and security advisories.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?