Skip to content

fix: require a Node release patched for CVE-2026-111497 - #4

Merged
msanvarov merged 1 commit into
mainfrom
chore/node-floor-cve-2026-111497
Nov 12, 2026
Merged

msanvarov merged 1 commit into
mainfrom
chore/node-floor-cve-2026-111497

Conversation

@msanvarov

Copy link
Copy Markdown
Member

Node's October 21, 2026 security release fixes CVE-2026-111497 (high), a Brotli decoder out-of-bounds write in node:zlib that can lead to remote code execution. The same release has TLS and DNS fixes. The CLI is exposed because Node's fetch decompresses Brotli responses through zlib.

What changes

  • package.json engines: >=18.18 becomes ^22.23.4 || ^24.22.1 || >=26.12.1. These are the only releases with the fix; Node 18 and 20 never got one. The lockfile is synced.
  • CI: runs on Node 24 instead of 20. The release workflow already uses 24.
  • README: states the new minimum.

Notes

  • Effect on users: people on Node 18 or 20 get npm's engine warning on install. The CLI isn't blocked at runtime, and they should upgrade Node.
  • Version bump: committed as fix:, so it releases as 0.2.1. A breaking marker would make the release workflow cut 1.0.0.

Checks: npm run build is clean and 35/35 tests pass.

Node's October 21, 2026 security release fixes a Brotli decoder
out-of-bounds write in node:zlib that can lead to remote code execution
(CVE-2026-111497, plus TLS and DNS fixes). Only 22.23.4, 24.22.1 and
26.12.1 have it; Node 18 and 20 got no fix. The CLI's fetch decompresses
Brotli responses through zlib, so engines now allows only patched
releases, and CI runs Node 24 instead of 20.
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Summary

Summary by CodeRabbit

  • Compatibility
    • The minimum supported Node.js version has changed. The documented requirements are now Node.js 22.23.4+, 24.22.1+, or 26.12.1+; Node.js 18 is no longer listed as supported.
  • Development
    • Automated checks now run on Node.js 24.

The package requirement and README now specify Node.js 22.23.4+, 24.22.1+, or 26.12.1+. The CI workflow now selects Node.js 24.

Changes: Node.js version alignment

Layer / File(s) Summary
Update supported Node.js versions
package.json, README.md, .github/workflows/ci.yml
The package requirement and README specify Node.js `^22.23.4

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Low · up to 037e0

The change drops support for Node 18 and 20 in a patch release. Users who enforce engine checks may see install failures on upgrade. Consider whether this release should be marked as breaking, or otherwise communicated clearly.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@msanvarov
msanvarov merged commit 00e179f into main Nov 12, 2026
1 check passed
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.

1 participant