
On 21 October 2026, the same day PHP shipped its emergency patch, the Node.js project released a Node.js security update covering ten separate vulnerabilities across every supported version. One of them permits remote code execution. Three of them let an attacker defeat the check that HTTPS relies on to prove a server is who it claims to be.
The useful news is narrower than the headlines. There are three version numbers to know, one command to run, and one group of people who genuinely have a problem: anyone still on Node.js 20 or older, for whom no patched version exists.
Everything here was verified against the Node.js project’s own advisory on 23 October 2026. Where a detail comes from somewhere else — and several of the widely repeated ones do — I say so, because the primary advisory is remarkably thin and the gap has been filled in by other people.
The sixty-second check

Open a terminal and run:
node --versionYou want one of these, or anything higher in the same series:
| Series | Patched version |
|---|---|
| Node.js 26.x | 26.12.1 |
| Node.js 24.x | 24.22.1 |
| Node.js 22.x | 22.23.4 |
If you see v24.22.1, you are done. If you see v24.22.0, you are one patch release behind on a set of fixes that includes a remote code execution flaw.
The harder half of this job is not reading the number — it is remembering everywhere you run Node. One version check on a laptop proves almost nothing, because Node tends to be installed several times over on the same machine by things that never mention it:
- Your own projects, and whatever your version manager (
nvm,fnm,volta,asdf) has lying around. Each installed version is separate and each needs its own update. - Docker images. A
FROM node:24in a Dockerfile pins you to whatever that tag resolved to when you last built. Rebuilding is what picks up the fix; editing the file and not rebuilding changes nothing. - Build servers and CI. The Node version in a GitHub Actions workflow or a pipeline config is a separate installation with its own lifecycle.
- Desktop apps built on Electron, which bundles its own Node runtime. You do not update those by updating Node; you wait for the app vendor to ship a build.
Hosting platforms pushed this out to customers directly. A Render advisory emailed to its users on 22 October 2026 told them to move to 22.23.4, 24.22.1 or 26.12.1 — or a later release in the same major version — and to redeploy every affected service, noting that a rebuild is what actually applies the change. That “and redeploy” is the part people skip.
The one that earned the headlines
The serious entry is CVE-2026-111497, titled in the advisory as “Node.js Brotli decoder out-of-bounds write permits remote code execution.” Brotli is a compression format — the same family of idea as ZIP, used constantly and invisibly to make web responses smaller. Node bundles a decoder for it.
An “out-of-bounds write” means the program can be tricked into writing data outside the memory it was supposed to touch, which is the classic route to making a program run instructions it was never given. Malformed compressed input is enough to set it off.
Here is where honesty is required, because the primary source is unhelpfully thin. The entire body text the Node.js advisory gives for this flaw is:
“A flaw in Node.js can cause Node.js Brotli decoder out-of-bounds write permits remote code execution.”
That is a restatement of the title, not an explanation. The advisory publishes no CVSS score for it, and rates it High — not Critical. That distinction is worth holding on to, because this landed in the same week as the PHP flaws, which were rated Critical at 9.2, and the two have been blended together in a lot of coverage.
The fix came from upstream Brotli, and also shipped in Brotli 1.2.1, 1.1.1 and 1.0.10. So if you run other software that bundles its own Brotli, Node is not the only thing on your list.
That turned out to be the most important sentence in this article. Four days later, on 25 October 2026, Microsoft shipped an out-of-band .NET security update for the same CVE, outside its monthly patch cycle — patched in .NET 8.0.33, 9.0.22, 10.0.14 and .NET 11 RC3. By then the same decoder flaw had also been demonstrated in ClickHouse, FFmpeg and Apache Arrow. One bug in one compression library, five products, each with its own patch and its own version number. We cover the .NET release separately, because the practical answer there is different: Brotli decompression is off by default in .NET, so most applications were never exposed at all.
The three that are quieter and more interesting

Three of the ten concern certificate checking — the step where your program, having connected to a server over HTTPS, confirms the certificate it was handed actually belongs to the address it asked for. Get that wrong and encryption still happens, perfectly, with the wrong party.
- CVE-2026-106069 (High) — “TLS certificate hostname bypass when the host loosely resolves to an IP address.”
- CVE-2026-105483 (High, 26.x and 24.x only) — “TLS certificate hostname bypass when the IP is written fullwidth digits.” Fullwidth digits are the wide-form numerals used in Japanese and Chinese typesetting —
127rather than127. Two things that look like the same address to a person, and did not to the code. - CVE-2026-106072 (Medium) — “Improper certificate validation for non-canonical IPv4 hostnames allows DNS SANs to authenticate IP endpoints.”
All three share a shape: an address written in an unusual but still-valid way slips past a comparison. And all three matter most in one specific situation — when your application connects to an address that somebody else supplied. If your code only ever talks to hostnames you hardcoded, the practical exposure is much smaller. If it fetches user-submitted URLs, calls webhooks, or proxies requests, it is larger.
The fourth High-severity entry is CVE-2026-105482, “dns.resolve truncates names containing NUL char” — a name lookup that quietly stops reading at a special character, so safe.example.com\0.attacker.test can resolve as though the attacker’s half were not there.
The remaining five are Medium and Low: a keep-alive socket that can process a response written before its request was sent; a ZipFile issue; two Permission Model bypasses; and a genuinely strange one, CVE-2026-106074, where crypto.randomUUID() and randomInt() have their entropy caches baked into startup snapshots and single-executable applications — so every process produces the same “random” values. If you have ever used a random UUID as something a stranger should not be able to guess, that is the entry to read twice.
Three things the coverage is getting wrong

“A working exploit is already out there”
This is the one most worth slowing down on, and this section has been corrected — in the direction of taking the flaw more seriously than it first said.
The claim circulating in coverage was that the public proof of concept worked only against a deliberately weakened test build. The researchers say otherwise, in their own words. The security firm Imperva published its analysis on 22 October 2026, describing code execution against “the official Node.js 24.22.0 Linux arm64 image” — adding that “it needed no debugger or instrumented binary,” and that a memory sanitizer “helped explain the flaw; it was not needed for the code-execution proof.”
Two things temper it, and both are also Imperva’s own words: “execution took multiple attempts in our setup,” and “the proof did not succeed on every attempt.” Imperva has not released its exploit, and does not claim to have found the flaw — it calls the work “an independent validation of the impact and the released patch.”
So the accurate version is this: a security firm demonstrated code execution against a stock, unmodified Node.js build, unreliably, and did not publish the code. That is considerably more serious than a laboratory curiosity, and still some distance from a weaponised exploit in general circulation.
As of 26 October 2026, this flaw was not listed in CISA’s Known Exploited Vulnerabilities catalogue and no in-the-wild exploitation had been confirmed — though one threat-intelligence firm has since reported seeing an attempt, a single report that could not be corroborated and which sits against same-week statements to the contrary. Patch anyway. The gap between a proof of concept and a weaponised one is often short.
⚠️ There is a lesson here worth more than the correction itself. The mistake came from verifying against a reputable outlet’s description of Imperva’s research instead of against Imperva’s own write-up. A secondary source summarising a primary one is still a summary, however good the publication. When a claim is about what a particular organisation did, that organisation’s own account is the document to read.
“It’s called Node2Shell”
You will see that name. Imperva’s own write-up is clear about where it came from: Node2Shell is “Imperva Red Team’s name for our analysis of CVE-2026-111497.” It is a label for a piece of research, not an identifier for the flaw — and the Node.js project’s own record gives the flaw no nickname at all.
That matters more by the day, because the names have multiplied rather than settled. Within five days the same single bug was also being called HTTP2Shell (coined 23 October “to reflect its broader impact on HTTP clients and servers”), Brotli2Shell and Broccoli2Shell — and one security site had to publish a piece explaining that a fifth name, html2shell, does not exist at all. None of the four appears in any advisory. The only identifier that works is the CVE number.
The naming situation is now genuinely confusing, and conflating these will send you after the wrong fix:
- php2shell — the two PHP flaws, 21 October, in the PHP runtime. Exploitation contested.
- wp2shell — a WordPress Core flaw chain from 17 July, confirmed exploited in the wild.
- node2shell — a circulating nickname for this Brotli flaw in Node.js.
Three names, one character apart, three different pieces of software, three different fixes. If you own a WordPress site, the Node.js release almost certainly has nothing to do with you.
“Critical, 9.2”
That score belongs to the PHP vulnerabilities, not this one. Node rates the Brotli flaw High and publishes no CVSS figure for it at all. Some trackers have since attached their own scores, which is normal and fine — but a number sourced from a third-party database is not the project’s assessment, and the two were being quoted interchangeably within a day.
If you are on Node.js 20 or older, there is no patch

This is the part that deserves real concern, and it is the same shape as the PHP story in the same week, where roughly a third of PHP sites sat on branches with no patched release at all.
Node.js 20.x and earlier are end of life. They will not receive this fix. There is no 20.x release to upgrade to that closes CVE-2026-111497, because the line is finished.
So if node --version reports v20, v18 or older, “update Node” quietly means “move to a supported major version” — which can mean dependency work, native modules that need rebuilding, and a test suite you may not entirely trust. That is an afternoon, not a command. Start it this week anyway, because the alternative is staying on a runtime that will accumulate unpatched flaws from here on.
The certificate fix hiding in the dependency list
One line in the same advisory is easy to miss and is really a different story. Among the dependency updates, alongside c-ares, OpenSSL, SQLite and Undici, sits this:
“ca-cert (eMudhra Intermediate CA Compromise)”
That is Node shipping a new bundle of trusted certificate authorities, because in the same week the private keys for eight intermediate certificates belonging to a widely trusted certificate authority turned out to be recoverable by anybody who had the matching public certificate. Browsers blocked them within hours. Programs are a different matter: a runtime like Node carries its own list of who it trusts, and that list only changes when the runtime is updated and the service rebuilt.
It is a separate incident with a separate fix, and it is the reason this one release is both a vulnerability patch and a trust-store update. We cover it on its own, because the browser side of that story has a genuinely surprising ending.
What actually changed this week
Two runtimes that between them sit underneath a very large share of the internet shipped emergency fixes on the same day, and a certificate authority’s keys were found to be guessable in the same seventy-two hours. None of those three things is related to the others. All three arrived in the same inbox.
What that week rewards is not vigilance — nobody can read ten CVE titles a day forever. It rewards being able to answer two boring questions quickly: what versions am I actually running, everywhere? and how long does it take me to roll a new one out? The projects that patched in an afternoon were not better informed than the ones that took three weeks. They just already knew the answer to the first question.
Frequently asked questions
Do I need to do anything if I do not write JavaScript? Probably not, but check your desktop apps. Electron bundles Node, so a chat client or editor built on it carries a Node runtime you do not control. Those get fixed by updating the app, in its own time, not by you.
Is my website affected? Only if it runs on Node. If your site is WordPress, this release is not your problem — the PHP update from the same day is. They are different layers and different fixes.
Does a web application firewall help here? Not dependably for the Brotli flaw, because the malformed input is compressed data being decompressed by the runtime itself. A firewall that inspects requests is not well placed to judge whether a compressed payload will misbehave once expanded. Patch the runtime.
I updated the version in my Dockerfile. Am I done? Only after a rebuild and a redeploy. The running container still has the old binary until you replace it. This is the single most common way a team believes it has patched and has not.
How do I know whether I was exploited? For this flaw, you largely cannot — no public indicators of compromise have been released, and no in-the-wild exploitation had been reported as of 22 October. General hygiene applies: unexplained outbound traffic, processes you did not start, and dependency changes nobody made.
📦 Recommended Resources
Some links below are Amazon affiliate links. If you buy through them we earn a small commission at no extra cost to you.
Read the free primary material first, and in this case read it for a specific reason: the Node.js October 2026 security releases page is the authoritative list of what was fixed, and it is also an object lesson in how little a primary advisory sometimes says. Ten CVE titles, three version numbers, no scores, and one tautological sentence about the most serious flaw. Everything more detailed than that which you read this week came from somebody else, and it is worth seeing the gap with your own eyes. Node’s releases page is the companion document, because it tells you which lines still receive fixes at all — the question that actually decides whether you have a quick job or a long one. Both were read on 23 October 2026.
The three books below are for the part that is still true next year, when this release’s CVE numbers mean nothing to anybody.
- Node.js Design Patterns by Mario Casciaro and Luciano Mammino — the right book for the half of this article that is not about security at all. Most of the real difficulty this week was inventory: knowing every place a Node runtime is installed, which ones are pinned, and what a rebuild actually replaces. Casciaro and Mammino are strong on how Node applications get assembled and where their boundaries sit, which is the knowledge that turns “update Node” from a guess into a list.
- Building Secure and Reliable Systems by Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea and Adam Stubblefield — Google’s companion to the SRE books, and the practical treatment of the dull capability this week tested. The chapters on keeping systems updatable and designing for recovery explain why the teams that patched in an afternoon were not better informed than the ones that took three weeks; they had just already answered “what am I running, and how fast can I replace it?”
- Security Engineering: A Guide to Building Dependable Distributed Systems by Ross Anderson — read this for the three certificate bugs. The pattern behind all of them is a comparison that two pieces of software disagree about: an address written in fullwidth digits, or in a non-canonical form, that one layer normalises and another does not. Anderson is excellent on exactly this class of failure, where nothing is broken in isolation and the vulnerability lives in the seam between two correct components.
✅ Pro tip: write down every place you run Node, once, and keep the list. Not the versions — those change — but the locations: each project, each Dockerfile base image, each CI workflow, each Electron app you depend on. On a day like 21 October the people who struggled were not the ones who did not know the fix; they were the ones who could not say with confidence where the runtime was installed. That list takes twenty minutes to write and makes the next one of these a chore instead of an investigation. While you are at it, check Node’s release schedule and note the date your major version stops receiving fixes — Node.js 20 and earlier are already past it, and an end-of-life runtime has no patch to install, no matter how urgent the advisory.