pnpm 12.26 installs gh and jq; Next.js sets a patch date
"Also: node-tar's 17 advisories, Astro's Node.js 26 default, Optimizely's script hijack"
Today is mostly about what gets into your project. Upgrade pnpm to 12.26 for a shell fix, check node-tar's 17 advisories, and plan a Next.js minor upgrade before December 15.
The main thing

pnpm 12.26 installs gh and jq as dev dependencies. pnpm can now install command-line tools from the archives their publishers release. pnpm add gh@aqua:cli/cli adds "gh": "aqua:cli/cli@^2.106.0" to devDependencies, and pnpm install links the tool's commands into node_modules/.bin.
Tool names come from the aqua registry, and tools can only be devDependencies. pnx aqua:cli/cli runs one without adding it. After Monday's Rust crates, pnpm is turning into the installer for everything a repo needs.
The lockfile part is the interesting one. pnpm-lock.yaml records the download and its checksum for every platform the tool publishes. When GitHub reports no checksum for a file, pnpm downloads it and computes one.
That pins the file from then on, but a checksum pnpm made itself says nothing about where the file came from. Set supportedArchitectures.required if resolution should fail when a tool has no download for one of your platforms.
The security fixes are the reason to upgrade today. Lifecycle scripts now run with /bin/sh outside Windows (/system/bin/sh on Android). Before, a dependency that shipped a bin named sh could replace the shell that runs other packages' scripts.
pnpm also stops reading a package tarball at two zero blocks with a block between them that npm can't read as a header. It used to install files after that point that npm wouldn't.
pnpm view now strips control and invisible formatting characters from registry metadata; --json output is unchanged.
The release also splits supportedArchitectures into resolve and fetch lists and adds sideEffectsCache.key for Electron and Nix builds.
Upgrade for the shell fix. Then try one aqua tool in a repo where CI still installs gh or jq with curl.
Next.js picks a date

Next.js schedules a security release for December 15. Vercel says the release will fix eight high, one medium and one low severity vulnerabilities in Next.js, plus one medium severity issue in Vercel's Next.js integration. Advisories with affected versions arrive with the patches, not before.
The catch is the version line. Next.js 16.5.0 is expected today, December 2, and the security patch will land on the 16.5.x line. If you're on an earlier minor on December 15, a minor upgrade stands between you and the fix.
That's why Vercel gave two weeks of notice instead of the usual one. Do the 16.5.0 upgrade on a branch this week, while nothing is on fire, so December 15 is a patch bump.
Quick bits
Astro's Vercel adapter makes Node.js 26 the default. In @astrojs/vercel 12.0.0, a build on Node.js 26 deploys functions to nodejs26.x instead of warning and using nodejs24.x. That includes builds that reach 26 through an open range like >=22. Node.js 20 builds now log a deprecation warning. To stay on 24, set "engines": { "node": "24.x" }.
Astro's Solid integration moves to Solid 2.0. @astrojs/solid-js 8.0.0 supports Solid 2.0 only and needs solid-js@^2.0.0 and @solidjs/web@^2.0.0. It compiles through @solidjs/vite-plugin instead of vite-plugin-solid, and islands render through Solid 2.0's async model with renderToStream. Solid 1.x projects stay on @astrojs/solid-js@7.
Optimizely's experiment snippets served malware. InfoQ reports that attackers used a flaw in Optimizely Web Experimentation's signup flow to act as project admins and put code in the Project JavaScript field. It was served from Optimizely's own CDN with a valid certificate.
Report URI counted 188 infected snippets across 178 organizations, including the BBC, CNN and GitLab. Optimizely says the flaw was exploited on November 16, 2026, and that it has closed it and removed the injected code. Researchers note a strict Content Security Policy could have blocked the external payload.
Cloudflare open-sources Kitesurf. Cloudflare's browser engine for agents is on GitHub under Apache 2.0. It speaks the Chrome DevTools Protocol, so unmodified Puppeteer connects to it after a local Wrangler build. Page JavaScript runs on Boa, not V8. Deploying needs a Workers Paid plan, and the README says not to deploy it without authentication in front, because it has none.
Patch brief

node-tar publishes 17 advisories, and most fixes are in 8.0.0. All are rated high and were published December 1 and 2, 2026. They cover symlink chains that escape the extraction directory, PAX header parsing, and small archives that crash or hang extraction.
In one, a newline in a filename forges a PAX path record; the reporter used it to overwrite package.json in an installed npm package and run a postinstall on Windows. In another, four bytes of zstd header crash the process through async tar.x() on runtimes without native zstd, including Node 20 and Node 22 before 22.15.0.
Most advisories list 8.0.0 as the first patched version, one needs 8.0.2, and only the infinite-size bug has a 7.x fix, 7.5.24. If you extract archives you didn't make, move to tar@8.0.2. Our data doesn't say what else changed in 8.0, so read its notes before bumping a major.
ws fixes a pong flood (CVE-2026-140009, CVSS 7.5). A peer that floods Ping frames while refusing to read makes ws buffer automatic Pongs until the process runs out of memory. Fixed in 8.23.0, with backports to 7.5.14, 6.2.7 and 5.2.8. If you can't upgrade, set autoPong to false where it exists, or rate-limit with heartbeats.
node-forge 1.4.1 closes a signature forgery (CVE-2026-85393, CVSS 7.5). Default PKCS#1 v1.5 verification, also used for X.509 and PKCS#7, ignored extra elements in the DigestAlgorithm sequence. With low-exponent (e=3) RSA keys, that lets someone forge a signature for any message. The flaw is an incomplete fix of CVE-2026-33894.
Upgrade pnpm for the shell fix, and get Next.js 16.5.0 onto a branch before December 15.