Skip to content

Require Node.js releases patched for CVE-2026-111497 - #89

Merged
ChrisSimmons merged 1 commit into
mainfrom
require-patched-node
Oct 22, 2026
Merged

ChrisSimmons merged 1 commit into
mainfrom
require-patched-node

Conversation

@ChrisSimmons

Copy link
Copy Markdown
Member

CVE-2026-111497 is a high-severity out-of-bounds write in the Node.js Brotli decoder, and it permits remote code execution. It affects the 22.x, 24.x and 26.x lines and all End-of-Life lines. The only fix is a runtime upgrade, as described in the Node.js October 2026 security releases.

The SDK does not decode Brotli itself, but it cannot patch the runtime. This change makes the SDK declare and build on patched runtimes only:

  • engines.node in package.json changes from >=14.20.1 to ^22.23.4 || ^24.22.1 || >=26.12.1. npm now warns a consumer who installs on an unpatched runtime.
  • build.yml tests on Node.js 22.x, 24.x and 26.x in place of 14.x, 16.x and 18.x.
  • The ESLint job in lint.yml and the build job in publish.yml run on Node.js 24.
  • The README prerequisites show the new range.

This change drops support for Node.js 14 to 21. That is a breaking change, so release it as a new major version, v4.0.0. The release notes must name CVE-2026-111497 and the new minimum Node.js versions.

CVE-2026-111497 is an out-of-bounds write in the Node.js Brotli decoder.
The SDK cannot patch it in code.  Only a runtime upgrade fixes it.

- Set engines.node to "^22.23.4 || ^24.22.1 || >=26.12.1".  This drops
  Node.js 14 to 21 and the unpatched releases of 22, 24 and 26.
- Test on Node.js 22.x, 24.x and 26.x in build.yml.
- Run lint.yml and the publish.yml build on Node.js 24.
- Show the new range in the README prerequisites.
@ChrisSimmons ChrisSimmons self-assigned this Oct 22, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 98.093%. remained the same — require-patched-node into main

Comment thread package.json Resolved
@ChrisSimmons
ChrisSimmons requested a review from mapitman October 22, 2026 18:21
@ChrisSimmons
ChrisSimmons merged commit 0bd4ee7 into main Oct 22, 2026
15 checks passed
@ChrisSimmons
ChrisSimmons deleted the require-patched-node branch October 22, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants