Security7 min read

AI finds the holes: what the Node.js Brotli fix asks of a small team

A Brotli flaw in Node.js, credited to OpenAI Codex Security, was fixed on 21.10.2026. What the advisory says, where sources differ, and what we checked.

By: Yonatan GelfmanAI-assisted writingUpdated:

What happened

On Wednesday, 21.10.2026, the Node.js project shipped security releases for the 22.x, 24.x and 26.x lines: v22.23.4, v24.22.1 and v26.12.1. One of the issues, CVE-2026-111497, is an out-of-bounds write in the Brotli decoder bundled with Node. Node credits the report to OpenAI Codex Security.

The condition matters more than the headline. According to Node, the risk applies when an attacker can supply Brotli data that an application decompresses with node:zlib. In that case, memory corruption can lead to a crash, disclosure of process memory, or remote code execution. So the accurate short version is: the flaw may allow remote code execution, in applications that decompress untrusted Brotli input.

Update, 15.11.2026: On 27.10, CISA added CVE-2026-111497 to its Known Exploited Vulnerabilities catalog, which lists vulnerabilities with evidence of exploitation in the wild. The entry names the Brotli library, not a specific Node.js version. On 11.11.2026, Node shipped another security release for the 22.x, 24.x and 26.x lines: v22.23.5, v24.22.3 and v26.13.1. That release includes a low-severity zlib issue (CVE-2026-123862) that is unrelated to this Brotli flaw, and the 24.x and 26.x release notes also list an update of the bundled Brotli library to 1.2.1. The security advisory does not attach a CVE to that update. The October versions named above remain the fix for CVE-2026-111497.

Where the sources differ

  • Severity. Node rates the issue “high”. The CVE.org record lists a CVSS 4.0 score of 9.2, “critical”, and describes the underlying Brotli library (versions 1.0.3 to 1.2.0, fixed in 1.0.10, 1.1.1 and 1.2.1). Both are official, but they rate different scopes: Node rates its own runtime, the CVE record rates the library.
  • Wording. OpenAI’s announcement on X said the flaw allows unauthenticated remote code execution, and the CVE record also describes a remote unauthenticated attacker. The Node advisory says it “can lead to” remote code execution and ties it to decompressing attacker-supplied data with node:zlib. We follow Node’s wording, because it is the advisory for the runtime we use and it states the condition.
  • Context. On 21.10, the day of the Node release, OpenAI described a coordinated disclosure of critical PHP vulnerabilities found with AI, and said it expects similar findings to increase sharply in the coming months. That post is about PHP, not Brotli; we cite it only for the trend, not as evidence about this flaw.

What we checked

A read-only check of our own setup, on 27.10.2026:

The Vercel advisory (last updated 28.10.2026) was added to this list in an update on 29.10, after the check.

  • All five of our Vercel projects are set to Node 24.x in their project settings.
  • The setting names a major line only. Vercel manages patch versions for the 22.x and 24.x runtimes. Its security advisory, last updated October 28, says that as of October 28, 2026 at 11am PT, all new Vercel deployments use a patched Node.js version.
  • The project setting does not show which 24.x patch release a deployment is actually running, so we cannot identify the exact runtime patch from that setting alone.
  • Update, 11.11.2026: for this site, the setting is not the whole story. Since the production deployment on 3.11.2026, the site’s Vercel build log says the 24.x project setting does not apply because of engines in package.json (>=22.12.0), and that Node 26.x is used instead. The log names the major line, not the patch release, and the advisory’s statement about managed patch versions names only 22.x and 24.x.
  • In this site’s repository, package.json requires Node >=22.12.0, there is no .nvmrc, and CI uses Node 22. The site’s dependencies do not include Express or body-parser.

We did not check the other repositories’ code or lockfiles, and we did not test whether any of our apps decompress Brotli input from users.

Our take

The number of findings is not the story. The story is the gap between “found” and “running the fix”. A version range like 24.x or >=22.12.0 is convenient, but it moves the question of which patch you are on to the platform, and it hides the answer from you.

For a small team, a practical policy has three parts: know where untrusted compressed input enters your apps, check the runtime version a deployment actually reports, not only the setting, and treat a security release from your runtime as a scheduled task with a date, not as “when convenient”.

What would change our view: if the platform shows the exact runtime patch version per deployment, the second step becomes a glance instead of a check. Until then, check it yourselves.

Sources

Follow on Google Search

Add Bersaglio as a preferred source to prioritize our notes, research, and practical work in Search and AI Overviews.

Accessibility options

Customize display preferences. These controls do not replace accessible site markup or assistive technology testing.