Repository navigation
Update node to 26.12.1 and node-lts to 24.22.1 (security; upstream eMudhra fix, drop carried patches) - #968
Open
bryan-minimal wants to merge 1 commit into
Open
bryan-minimal wants to merge 1 commit into
bryan-minimal wants to merge 1 commit into
Conversation
…d patches) Both are upstream security releases and both carry the CVE-2026-111943 fixes (nodejs/node#66871 SPKI blocklist, #66877 NSS 3.131.1 roots), so the backports from #946 are dropped; node 26.12.1 also handles the LIEF 1.x Section API itself, so its LIEF patch goes too, and with it the `patch` build dep. build.sh now fails closed if a future version regresses either fix. node moves to nodejs.org's release tarball (same as node-lts), sha verified against SHASUMS256.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
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.
Updates node 26.10.0 → 26.12.1 and node-lts 24.19.0 → 24.22.1, both upstream security releases (2026-10-20/21).
Security fixes picked up (from the upstream release notes)
tls: reject chains containing blocked public keys) and #66877 (root certificates → NSS 3.131.1).Carried patches dropped (now upstream)
cve-2026-111943-tls-spki-blocklist.patchandcve-2026-111943-drop-emsign-roots.patch(both packages, from SECURITY: node, node-lts: backport CVE-2026-111943 eMudhra fixes (nodejs/node#66871, #66877) #946): upstream now contains both changes.lief-1.x-macho-section-ctor.patch: 26.12.1 handles the LIEF 1.x API itself (#if LIEF_VERSION_MAJOR >= 1 … Section::create(...)insrc/node_sea_bin.cc). I confirmed the old patch neither applies nor reverse-applies to 26.12.1, so upstream rewrote that code rather than taking the patch.patchis dropped from both packages' build deps.Kept: fail-closed guards and tests
build.shin both packages now checks upstream's fix instead of applying it. The build fails ifkBlockedSPKIsorInstallCertVerifyCallback(sc->ctx_.get())is missing fromsrc/crypto/crypto_context.cc, or ifemSign ECC Root CA - G3reappears insrc/node_root_certs.h. Run against the real 26.12.1 and 24.22.1 sources: pass. Negative control (the root put back): fails, exit 1.emsign_roots_removed, andspki_blocklist_rejects_emudhra_intermediate, which uses a local TLS server with the real compromised intermediate and expectsCERT_REVOKED. They now exercise upstream's code.Source change for node
node's source was a mirrored GitHub tag archive (
gs://…/node-26.10.0.tar.gz, shadadc307a…, which is not nodejs.org'snode-v26.10.0.tar.gz,093087c5…). It now uses nodejs.org's release tarball, the same as node-lts. Both shas were verified against nodejs.org'sSHASUMS256.txt(node717244a8…, node-lts001773d9…).build.shextractsnode-v${version}accordingly.Checks
nickel format --checkclean,bash -nclean,MINIMAL_SCIENCE_MODE=1 mip dump --packagesevaluates on amd64 and arm64.Heads-up
packages/node*/build.{ncl,sh}; whichever merges second needs a merge from main.🤖 Generated with Claude Code
Summary by CodeRabbit
Updates
Security