Repository navigation
Require Node.js releases patched for CVE-2026-111497 - #89
Merged
Merged
Conversation
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
commented
Oct 22, 2026
mapitman
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.nodeinpackage.jsonchanges from>=14.20.1to^22.23.4 || ^24.22.1 || >=26.12.1. npm now warns a consumer who installs on an unpatched runtime.build.ymltests on Node.js 22.x, 24.x and 26.x in place of 14.x, 16.x and 18.x.lint.ymland the build job inpublish.ymlrun on Node.js 24.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.