Repository navigation
build(docker): bump Node.js to 22.23.5 / 24.22.3 (security) - #1601
Conversation
Bump the Node.js base image pins for the Node.js security release reported in #1598: - ARG NODE22_VERSION 22.23.4 -> 22.23.5 - ARG NODE24_VERSION 24.22.1 -> 24.22.3 Files (from `git grep -lE 'ARG NODE[0-9]+_VERSION' -- 'Dockerfile*'`): Dockerfile.claude, .codex, .copilot, .gemini, .mimocode, .opencode, .pi (NODE22 only); Dockerfile.kimi (NODE24 only); Dockerfile.package and Dockerfile.unified (both). 12 ARG lines, nothing else changed. Nested Dockerfiles (agentcore/runtimes/kiro, openab-auth-proxy, openshell) have no Node pin. The rust:1-bookworm builder digest is unchanged. Checks run (no local image build; CI builds and smoke-tests): - `git grep -nE '22\.23\.4|24\.22\.1'` after the bump: no matches. - Checksums: the Node pins are image tags (`FROM node:${NODE<n>_VERSION} -trixie-slim`) with no SHASUM or digest beside them, so none to update. Looked up nodejs.org/dist/v22.23.5/SHASUMS256.txt and v24.22.3/SHASUMS256.txt for the record (linux-x64.tar.xz: cdeb8670...40f8 / 4f2b175a...fcfb). Docker Hub has node:22.23.5-trixie-slim (sha256:68c76cfa...2b64) and node:24.22.3-trixie-slim (sha256:af02d57b...24a0). - Smoke-test version source verified: docker-smoke-test.yml and docker-smoke-test-unified.yml "Verify Node.js runtime version" get the ARG name from .github/scripts/node_base_arg.sh and the expected version by awk on `ARG <name>=` in the Dockerfile under test, then compare with `node --version`. validate-packaged-pins requires every Node Dockerfile to carry Dockerfile.unified's exact pin line. No workflow edit needed. - .github/scripts/test_node_base_arg.sh: all tests passed. - Pin parity (`node_base_arg.sh --check` on all tracked Dockerfiles, each pin matched against Dockerfile.unified): 12/12 ok. Refs #1598
|
Note LGTM ✅ - All 12 Node.js pins move to the November 11, 2026 security releases (22.23.5 / 24.22.3), the scope matches the runbook, and no blocking findings were identified. Wait for the Docker Smoke Test matrix to finish before merging. What This PR DoesThe Node.js security release tracked in #1598 patches Node.js 22.x and 24.x. This PR bumps every pinned Node.js base image from 22.23.4 to 22.23.5 and from 24.22.1 to 24.22.3, which is step 2 of the Base Image Security Release runbook in How It WorksOnly the Findings
Finding Details🟢 F1: Complete pin coverage
🟢 F2: Correct security-release versionsThe Node.js release pages list 22.23.5 and 24.22.3 as the November 11, 2026 security releases. Docker Hub returns 🟢 F3: Validation coverage
🟢 F4: Scoped changeThe PR follows Non-blocking follow-up ideas
Baseline Check
Reviewer Verdicts
No external reviewer feedback on this PR at review time. 5. Three Reasons We Might Not Need This PR
|
Bumps the Node.js base image pins for the Node.js security release tracked in #1598. This is step 2 of the Base Image Security Release runbook. The beta and stable releases come after this PR merges. #1598 closes on its own once
node-security-check.ymlsees that the published images are current.Changes
NODE22_VERSIONDockerfile.claude,.codex,.copilot,.gemini,.mimocode,.opencode,.pi,.package,.unifiedNODE24_VERSIONDockerfile.kimi,.package,.unifiedThe files come from
git grep -lE 'ARG NODE[0-9]+_VERSION' -- 'Dockerfile*'. The diff is 12ARGlines and nothing else. The nested Dockerfiles (agentcore/runtimes/kiro,openab-auth-proxy,openshell) have no Node pin. Therust:1-bookwormbuilder digest is unchanged.Verification
git grep -nE '22\.23\.4|24\.22\.1'returns nothing after the bump.FROM node:${NODE<n>_VERSION}-trixie-slim). No SHASUM or digest sits beside them, so no checksum needed updating. For reference, SHASUMS256.txt for v22.23.5 and for v24.22.3 exist, and Docker Hub publishesnode:22.23.5-trixie-slimandnode:24.22.3-trixie-slim.docker-smoke-test.ymlanddocker-smoke-test-unified.yml, "Verify Node.js runtime version" gets the ARG name from.github/scripts/node_base_arg.sh, readsARG <name>=from the Dockerfile under test, and compares it withnode --versionin the built image.validate-packaged-pinsrequires every Node-based Dockerfile to carry the exact pin line fromDockerfile.unified. No workflow edit is needed..github/scripts/test_node_base_arg.shpasses, and the pin parity check passes for all 12 pins.Review Contract
Goal
Every Node.js-based agent image built from this repo uses the patched Node.js security releases: 22.23.5 for claude, codex, copilot, gemini, mimocode, opencode and pi, and 24.22.3 for kimi.
Non-goals
node-security-check.ymlcloses it once the published images are current.rust:1-bookwormbuilder digest.Accepted Residual Risks
node:22.23.5-trixie-slimandnode:24.22.3-trixie-slimat build time, including Debian package updates. This matches the existing pinning policy from RFC: rebuild agent images for Node.js security releases (Node 22.23.4 / 24.22.1) #1567. The smoke tests still assert the exact Node.js version.stable-*andbeta-*images stay on the old Node.js until the next beta is cut and promoted. Recovery is the runbook's steps 3 and 4.Acceptance Criteria
ARG NODE22_VERSIONis22.23.5and everyARG NODE24_VERSIONis24.22.3in each Dockerfile that declares them. No other line changes.validate-packaged-pinspasses (pin parity withDockerfile.unified).Follow-ups
None for this PR. The release steps that follow the merge are already defined in RELEASING.md and tracked in #1598.
Refs #1598