Node.js Security Update on December 9: How to Patch Versions 26, 24 and 22
Node.js plans a security release on or shortly after December 9 for all supported lines (26, 24 and 22), with the most severe flaw rated HIGH. Here is how AI-assisted developers can update, either through an AI agent or by hand.

My fellow vibe coders :) this affects us more than anyone. Let's protect ourselves before we take a big hit.
If you build apps with AI, Node.js is very likely installed on your computer, even if you don't remember installing it. It is definitely installed if you installed tools like Claude Code, Codex, Grok, Gemini or OpenCode with npm, or if you run a local server or an Electron app. You have one week, so put it in your calendar.
What's happening?
Node.js will publish a security update on December 9 or shortly after. All supported versions are affected: 26, 24 and 22. The most serious vulnerability is rated HIGH. Details will be announced on the day of the update.
If you don't want to deal with it (give this to your AI agent)
After December 9, give the following message as-is to your AI agent (Claude Code, Codex, Grok, Gemini, OpenCode), and it will handle the rest:
Update Node.js on this computer according to the December 9, 2026 security update. 1) Use node -v to find the version and how Node was installed (winget, Homebrew, nvm, http://nodejs.org installer). 2) Read the page http://nodejs.org/en/blog/vulnerability/december-2026-security-releases and check whether a patched version for my release line is out; if not, stop and tell me. 3) Stay on the same release line and update Node using the method it was installed with. If my version is v20 or older, suggest moving to the current LTS, and move only if I approve. 4) Do not remove or change anything else. 5) When finished, show the output of node -v and npm -v, and tell me in one sentence which version I moved from and to.
Methods for those who want to do it manually
1. Open the terminal
- Windows: type PowerShell in Start and press Enter.
- Mac: type Terminal in Spotlight and press Enter.
2. Check your version
Type this: node -v
Then press Enter.
3. Update after December 9
Type the command that matches the version number shown, then press Enter.
Windows
- v26, or v20 and older: winget install --id OpenJS.NodeJS.LTS -e
- v24: winget install --id OpenJS.NodeJS.24 -e
- v22: winget install --id OpenJS.NodeJS.22 -e
Mac (if you installed with Homebrew)
brew upgrade node
If you don't use Homebrew, download and install it from http://nodejs.org.
v20 and older are versions whose support has ended, so you are already exposed. The command will move you to the current LTS version (26).
If you get a "node is not recognized" message, Node is not installed on your computer and you don't need to do anything.
4. Verify
Close and reopen the terminal, type node -v again and press Enter. The new version should be displayed.
Source: http://nodejs.org/en/blog/vulnerability/december-2026-security-releases



