Subscribe free
Morning Merge JavaScript · Tuesday, December 1, 20264 min read

Node.js 24.23.0 and 26.14.0 LTS, npm batch approvals

Also: cross-spawn's Windows fix, React Router and Engine.IO patches, Vite+ advisories

Both Node.js LTS lines shipped feature-heavy minor releases on November 30, and npm turned a monorepo release into one approval. If your code spawns commands on Windows, check cross-spawn first.

The main thing

A golden yellow clamp fitted around one pipe on a workshop rail, measuring it before a saw cuts it.

Node.js 24.23.0 and 26.14.0 ship on the same day. Both LTS lines got releases on November 30, 2026: 24.23.0 'Krypton' and 26.14.0 'Lithium'. The notable changes are mostly semver-minor, which is the interesting part: new API you can use without a major upgrade.

On 24.23.0, most additions are small tools people currently write themselves. http gains isValidHeaderName() and isValidHeaderValue(), so you can check a header yourself before setting it. buffer gets Buffer.stringLength() and isLatin1, and perf_hooks histograms get diff() and snapshot().

process.ref() and process.unref() graduate from experimental, and the test runner takes --test-coverage-include-all. Alpine Linux moves up to tier 2 support, which matters if your production images are Alpine-based.

The fixes are worth a look too. Negative indexes on large buffers and an odd UTF-16LE indexOf start position were both handled wrong. And permission flags set in a config file now propagate to child processes, so a child no longer misses restrictions you put on its parent that way.

26.14.0 reads more like a feature release. subprocess.timedOut tells you a child hit its timeout. fs gets mkstemp() for temporary files, zlib adds crc32c, and the test runner gets mockReturnValue and promise helpers. AbortSignal gets faster, with no numbers in the notes, and workers preload streams into the startup snapshot.

The odd one out is a new flag, --experimental-strip-private-modules. The notes give only its name, so we'll wait for the docs before guessing.

Both lines also picked up the same two internals: the finalization helpers in process now return an unregister function, and the test runner uses AsyncLocalStorage instead of async_hooks.

LTS doesn't mean frozen. If CI pins a Node minor, bump it this week and read the full notes for your line.

npm ships a monorepo in one approval

Six wooden crates on a loading dock bound by one strap, fastened with a golden yellow buckle.

npm batch approval releases for staged packages. npm's Staged Publishing Plans can now group staged versions, up to one version per package, into one batch that ships under a single two-factor approval. The approval is bound to the exact set of packages and versions you were shown when you approved.

The old flow had a real bug in it, beyond the tedium. Staged publishing issued a 2FA challenge per package and version. Between the first approval and the last, some packages were live while their dependent siblings weren't, and npm says that could break installs mid-release. Approving the batch as one unit closes that window.

GitHub also calls this a step toward making staged publishing a viable mandatory fallback for monorepo publishers who use bypass-2FA granted access tokens. There's no date attached. But if your release pipeline leans on one of those tokens, try a Publishing Plan now, while it's still optional.

Quick bits

Vercel's CLI now manages Firewall. From a linked project, vercel firewall status, traffic list, alerts list and bot-management show configuration and recent activity, each with --json.

vercel firewall managed-rulesets turns the OWASP Core Ruleset, Bot Protection and AI Bots on or off. Vercel pitches it at coding agents, but the good design choice is for humans: changes stage as drafts, vercel firewall diff shows them, and nothing goes live until vercel firewall publish.

AWS reintroduces Amplify as one service. Amplify now bundles hosting, PostgreSQL, authentication and an autogenerated Data API under one monthly plan, with full SSR for Next.js, SvelteKit and Astro. Preview environments get their own databases, and database changes apply before a new version goes live.

AWS says existing Amplify apps keep deploying with no code changes. The free Basic plan covers up to 25 apps and 2 backends; "live in under a minute" is AWS's claim.

Patch brief

A golden yellow replacement valve fitted into a manifold under a pressure gauge, with the cracked old valve on the floor.

cross-spawn fixes command injection on Windows (CVE-2026-137199, critical). On Windows, cross-spawn runs batch files through cmd.exe, but it only accounted for cmd.exe parsing arguments a second time when the batch file was an npm cmd-shim in node_modules/.bin.

For anything else, including npm.cmd and global shims, a crafted argument could break out of its quotes: the advisory's spawn.sync('npm', ['" & calc & "']) launches Calculator.

Upgrade to 7.1.0, or 6.0.7 on the 6.x line. You're exposed if untrusted input reaches arguments of a command that runs through cmd.exe; other platforms and options.shell aren't affected. Expect one behavior change: line breaks in batch-file arguments now throw a TypeError.

React Router 7.18.5 and 8.5.1 fix two high-severity bugs. Crafted unauthenticated requests can exhaust server resources through route-manifest path expansion (CVE-2026-139995, high). In Framework Mode that needs SSR with lazy route discovery; the unstable RSC modes are exposed too.

The second advisory is prototype pollution in the vendored turbo-stream deserializer (CVE-2026-139996, high), Framework Mode only, and needs attacker influence over the serialized data.

Engine.IO 6.6.12 stops a one-request crash (CVE-2026-137200, high). An upgrade request to a non-Engine.IO path, followed by an abrupt disconnect, emits an error event nobody listens for and takes down the Node process. If you can't upgrade yet, the advisory's workaround adds an error listener to each socket in the server's upgrade handler.

Vite+ has two advisories about cloned repositories. Vite+ takes its registry from an .npmrc inside the project. In CVE-2026-137191, a newly installed or upgraded Vite+ downloads its pinned pnpm build from that registry and runs it without checking a digest, so vp --version in a hostile clone is enough.

In CVE-2026-137190, vp env use puts the registry's version reply, unquoted, into shell code your profile evaluates. Our advisory data doesn't name a patched version, so read both before running Vite+ in a repository you didn't write.

If any Windows code path of yours hands user input to a batch file, upgrade cross-spawn before you do anything else today.

← All Morning Merge JavaScript issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →