Node.js CVE-2026-111497: an exploited flaw in the Brotli decoder

In October 2026 Node.js fixed a buffer overflow in the Brotli decoder that ships inside node:zlib. CISA added it to its list of actively exploited vulnerabilities six days later. Upgrading your framework does not fix it: the Node.js runtime itself must be updated, including in your Docker images.

  • CVECVE-2026-111497
  • SeverityCVSS 9.2 Critical
  • ProductNode.js
  • ExploitationActively exploited (CISA KEV)

What happened

Brotli is a compression format. Node.js bundles Google's Brotli library and uses it in node:zlib to compress and decompress data. Brotli 1.0.3 through 1.2.0 contains an out-of-bounds write in its decoder. That is CVE-2026-111497.

An app is exposed when it decompresses Brotli data that an attacker controls. The result can be a crash, a leak of memory contents, or possibly code execution. The CNA rates it 9.2 under CVSS 4.0, NVD 9.8 under CVSS 3.1, and Node.js rates it High. CISA added it to its Known Exploited Vulnerabilities catalog on 27 October 2026.

Who is affected

Node.js lineVulnerableFixed version
22.xBefore 22.23.422.23.4 or later
24.xBefore 24.22.124.22.1 or later
26.xBefore 26.12.126.12.1 or later
End-of-life linesYes, and no fix will comeMove to a supported line

Some frameworks decompress request bodies sent with Content-Encoding: br. Whether a specific framework does this by default is not confirmed here, so treat any internet-facing Node.js app as affected. Other software that bundles Brotli, such as language bindings and proxies, should be updated too.

How to check your server

Check the Node.js version where the app actually runs. In containers, the base image decides the version.

node -v
npm ls express body-parser

# In Docker: check the base image tag and the version inside the image
grep -i '^FROM' Dockerfile
docker run --rm <your-image> node -v

How to fix it

  • Upgrade Node.js to 22.23.4, 24.22.1, 26.12.1 or later.
  • Update the FROM line in every Dockerfile to a fixed Node.js tag, pull the new base image and rebuild.
  • Update your lockfile and dependencies in the same release, then redeploy every server and container.
  • Run node -v inside the running container or on the server to confirm the new version.
  • If you run an end-of-life Node.js line, move to 22, 24 or 26 now.

If you cannot upgrade today

Node.js lists no workaround. This is our own suggestion to reduce the risk until you can upgrade:

  • Reject request bodies with Content-Encoding: br at your reverse proxy if your app does not need them.

What to look for

If an internet-facing app ran a vulnerable Node.js version after 21 October 2026, look at crash logs and restarts first: repeated crashes of the Node process can point to attempts. Also check for unknown processes run by the Node user, unexpected outbound connections and changed secrets. An API penetration test checks how your endpoints handle compressed and malformed requests.

Questions

I updated Express and Next.js. Am I safe?

No. The flaw is in the Node.js runtime. You must upgrade Node.js itself and redeploy.

We run Node.js in Docker. What do we need to do?

Change the base image tag to a fixed Node.js version, rebuild the image and redeploy. Rebuilding on an old cached base image does not help.

My app never uses Brotli. Do I still need to upgrade?

Yes. A library or framework may decompress Brotli for you, and you may not know it. The upgrade is the only fix Node.js offers.

This article is written for defenders and contains no exploit code. It reflects the vendor advisories on the date above; always check the vendor advisory for the latest fixed versions.

Not sure whether you are affected?

We check your servers and applications for this vulnerability and others like it, and give you a clear report with fixes.

Request an assessmentAPI Security Testing