Skip to content

CVE-2026-111497 (group 1): pin Node 22.23.4 - #416

Merged
pitoi merged 1 commit into
mainfrom
strut/1792805396707
Oct 24, 2026
Merged

pitoi merged 1 commit into
mainfrom
strut/1792805396707

Conversation

@pitoi

@pitoi pitoi commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Part of CVE-2026-111497 group 1 (sister PR: stakwork/hive-relay, same title).

Bumps Node 20 -> 22.23.4 (fixed). Major bump: run CI build + smoke test before merge.

After merge: rebuild/push sphinxlightning/graphmindset; every sphinx-swarm host runs it as :latest, so repull and restart on each host; verify docker exec <c> node -v = v22.23.4.

Interim: reject Content-Encoding: br at the proxy; disable Next image optimization until patched.

Moved the repo from Node 20 to Node 22.23.4 (CVE-2026-111497, Brotli decoder). I changed only two files and did not run a build or any tests.

**Changes**
- `Dockerfile` lines 1 and 8: `node:20-alpine` is now `node:22.23.4-alpine` in both the builder and runner stages.
- `.github/workflows/build-check.yml` line 16: `node-version: '20'` is now `'22.23.4'`.

**Left alone**
- The other two workflows (`docker-build.yml`, `docker-build-main.yml`) have no Node pin.
- There is no `.nvmrc`.
- `package.json` has no `engines` field, so I did not add one.
- I did not touch `@types/node`, dependencies or the lockfile.
- I found no README or docs mention of Node 20.

**PR description**
- This is part of group 1. The sister PR is in stakwork/hive-relay and has the same title.
- This is a Node 20 to 22 major bump. The CI build and a smoke test of the main pages are needed before merge.
- After merge, rebuild and push the image `sphinxlightning/graphmindset`.
- Every sphinx-swarm host runs it as `:latest`. Each one must pull the new image and restart the container.
- Verify on each host with `docker exec <container> node -v`. It should print v22.23.4.
- If this can't ship right away, an interim mitigation is to reject `Content-Encoding: br` request bodies at the proxy. Also disable Next.js image optimization until Node is patched.
@pitoi
pitoi merged commit ced0780 into main Oct 24, 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