The Wire · Showcase
NODE VFS FIX STOPS SILENT FILE FAILURES ON RENAMED HANDLES
By RepoJournal · Filed · About Node.js
A critical filesystem virtualization bug that caused ENOENT errors when tracked files were renamed after opening is now fixed.
The Virtual FileSystem layer in Node's file handling had a fundamental flaw: when you opened a file and then that file was renamed, subsequent reads through the open file descriptor would fail instead of following the inode like the real filesystem does [1]. The fix moves `RealFileHandle.readFileSync()` and `readFile()` to read through the already-open fd using positioned reads rather than reopening the original path, matching native behavior and preserving handle state [1]. In parallel, the zlib module is tightening its decompression security posture by exposing the previously internal `rejectGarbageAfterEnd` option [2] and applying it to web streams to reject trailing gzip members [3], addressing a class of parsing vulnerabilities. Crypto types are now officially documented [5], and the docs got a scrub to fix broken links and duplicate stability labels [4]. Doc-kit merged a feature to allow titles without markdown syntax [6], improving templating flexibility.
Action items
- → Test VFS-backed file operations if you use virtual filesystems or file tracking nodejs/node [plan]
- → Review zlib decompression streams for exposure to concatenated gzip members nodejs/node [monitor]
- → Update to latest Node when released to get the VFS handle fix nodejs/node [plan]
References
- [1] vfs: read RealFSProvider files from open fd ↗ nodejs/node
- [2] zlib: expose rejectGarbageAfterEnd option nodejs/node
- [3] zlib: reject trailing gzip members in web streams nodejs/node
- [4] doc: fix broken links and duplicate stability label nodejs/node
- [5] typings: add typing for crypto nodejs/node
- [6] feat(title): allow no-md title ↗ nodejs/doc-kit
FAQ
- What changed in Node.js on June 28, 2026?
- A critical filesystem virtualization bug that caused ENOENT errors when tracked files were renamed after opening is now fixed.
- What should Node.js teams do about it?
- Test VFS-backed file operations if you use virtual filesystems or file tracking • Review zlib decompression streams for exposure to concatenated gzip members • Update to latest Node when released to get the VFS handle fix
- Which Node.js repositories shipped on June 28, 2026?
- nodejs/node, nodejs/doc-kit