BuildRiot
Sign in

Article · Backend

Patch Node.js HTTP/2 and TLS services, then verify every running replica

The November 11, 2026, Node.js security releases address HTTP/2, HTTPS and TLS certificate-policy flaws. This guide maps exposure by feature and branch, then covers rebuilding images, deploying by digest and verifying every application process.

A warmly lit miniature cutaway workshop shows certificate checks, an application image rebuild, and an inspection bar verifying all six blue running replicas.
Illustration: BuildRiot (AI-generated)

Key takeaway

An updated image or a shell’s Node version does not establish which runtime every application process uses. Verify running replicas and test file transfers and hostname-specific certificate policies before closing the rollout.

Map the traffic that reaches Node.js

Node.js released versions 26.13.1, 24.22.3 and 22.23.5 on November 11, 2026, to address HTTP/2, HTTPS and Transport Layer Security (TLS) flaws. This guide, dated November 12, 2026, starts with mapping those fixes to each service’s traffic paths. Build an exposure worksheet before selecting the replacement runtime. Sources: Node.js

Record each service’s process role, replica identity, listener address, external protocol, proxy-to-application protocol and TLS termination point. Add file-response APIs, hostnames, client certificate authorities and the deployed artifact. Inspect application code, framework settings and proxy configuration together. Public HTTP/2 support alone does not establish that Node receives HTTP/2. Include internal listeners and outbound HTTPS when assessing certificate policies.

The table below maps features to the advisory’s affected active branches. The 22.23.5 changelog also lists fixes for CVE-2026-123863, CVE-2026-123874, CVE-2026-123828 and CVE-2026-123868. For those issues, the advisory names only 24.x and 26.x. A backported change alone does not justify expanding that exposure mapping. Sources: Node.js

Table

Affected active branches by issue

IssueSeverityAffected branchesFeature
CVE-2026-123863High24.x, 26.xHTTP/2 teardown
CVE-2026-126051High24.x, 26.xTLS callbacks
CVE-2026-123874High24.x, 26.xHTTP/2 file responses
CVE-2026-123828Medium24.x, 26.xAlternative service frames
CVE-2026-123868Medium24.x, 26.xHTTP/2 memory accounting
CVE-2026-123864High22.x, 24.x, 26.xHTTPS parsing
CVE-2026-123865High22.x, 24.x, 26.xHTTP/2 shutdown
CVE-2026-123866High22.x, 24.x, 26.xBackpressured writes
CVE-2026-123872High22.x, 24.x, 26.xTLS renegotiation
CVE-2026-123875Medium22.x, 24.x, 26.xCancelled file responses
CVE-2026-123867Medium22.x, 24.x, 26.xSNI client-CA selection
CVE-2026-123877Medium22.x, 24.x, 26.xHTTPS Agent sessions
Branch assignments follow the upstream advisory despite additional fixes listed in the older branch’s changelog.Sources: Node.js

Identify the HTTP/2 and HTTPS trigger paths

For CVE-2026-123864, the advisory describes HTTPS parser re-entry after an early flushHeaders call followed by end with nonempty data. An echo or storage route can expose leaked heap contents; cleartext node:http is excluded. Locate handlers that respond before request completion, which the advisory connects to CVE-2026-123863. Check deferred TLS handshake callbacks for CVE-2026-126051. Sources: Node.js

For CVE-2026-123866, Amazon’s CVE record places purely peer-driven triggering after window-size changes in 26.9.0 and 24.22.0. Those versions are not fixes. Amazon also describes application-driven teardown, such as a stream idle timeout, as reaching the defect on all supported branches. Include application-controlled destruction and slow-reader behavior in the exposure inventory. Sources: Amazon Web Services

Inspect respondWithFile and respondWithFD usage, including dependencies that wrap them. The 24.22.3 changelog addresses stream lifetime during outstanding writes for CVE-2026-123874. It also addresses a null write request during cancellation for CVE-2026-123875. Treat these as separate regression cases. TuxCare describes abandoned streams after a peer’s error-free shutdown notification for CVE-2026-123865. Its CVE-2026-123828 description identifies a one-byte overflow in alternative service frame handling. A terminating null byte extends beyond an origin-sized allocation. Sources: Node.js, TuxCare

For CVE-2026-123868, the advisory illustrates approximately 10 wire bytes producing 114 retained bytes per one-byte data frame. This describes an allocation scenario, not measured workload performance. Include small, repeated frames in staging checks alongside large transfers. Observe memory behavior when request bodies remain undrained and whether the service continues admitting streams. Sources: Node.js

Check certificate policy for every hostname

CVE-2026-123872 affects the boundary between hostnames with different client-certificate requirements. TuxCare describes TLS 1.2 renegotiation transferring authentication from an allowed hostname to a more restricted one. Its fix description binds session authentication to the server name. It also rejects name changes during renegotiation or HelloRetryRequest. Build the test inventory around hostname and certificate combinations. Sources: TuxCare

For CVE-2026-123867, locate contexts that specify a certificate authority, or CA, without a server certificate, as shown below. Amazon says the vulnerable implementation retains the default client CA in this case. A default-CA client can reach the protected hostname despite requestCert and rejectUnauthorized. A certificate from the intended protected CA can instead be rejected. Check actual authentication outcomes rather than treating enabled mutual TLS, or mTLS, as sufficient evidence. Sources: Amazon Web Services

server.addContext(host, { ca: protectedCA });

Keep outbound server validation separate from inbound client authentication. The advisory identifies CVE-2026-123877 as affecting HTTPS Agent sessions. The release also changes Server Name Indication, or SNI, during resumption. It disables mTLS resumption without a session ID context. Sources: Node.js

Select the branch release and rebuild the artifact

The following rollout procedure is BuildRiot’s recommendation; the cited documentation supports individual commands and runtime fields.

Use the table below to select the security release for the existing upstream branch. Check applicable issues against the official advisory. For distribution packages, require vendor evidence connecting the installed package revision to the relevant fixes. Amazon’s CVE-2026-123867 record marked nodejs22 and nodejs24 fixes pending. TuxCare published a separate backport erratum. Check the specific package rather than applying upstream version comparisons to a backport. Sources: Node.js, TuxCare, Amazon Web Services

Table

Upstream security release targets by branch

Existing branchSecurity release
26.x26.13.1
24.x24.22.3
22.x22.23.5
These same-branch releases were published on November 11, 2026.Sources: Node.js

Update runtime pins and base-image digests together, then inspect every Dockerfile stage that installs, executes or copies Node. Include copied executables and the final image. Docker documents images as immutable snapshots; refreshing base-image resolution and bypassing cached layers perform different jobs. Neither operation replaces an old pinned digest with a patched one. Sources: Docker

The example below rebuilds, inspects the final image’s runtime and publishes it; replace the example registry and service name before use. Docker documents the build options’ refresh and cache behavior, and Node documents the process fields used for inspection. Run application checks against the final image before executing the push command, then record the published registry digest. Sources: Docker, Node.js

docker build --pull --no-cache -t registry.example/team/service:security-20261112 .
docker run --rm --entrypoint node registry.example/team/service:security-20261112 \
  -p 'JSON.stringify({version:process.version,execPath:process.execPath,versions:process.versions})'
docker push registry.example/team/service:security-20261112

Use the actual published digest in the container deployment specification, replacing the placeholder below. Digest pinning identifies a particular image version. Deploy that artifact and replace existing instances, including processes outside the web tier. Sources: Docker

registry.example/team/service@sha256:<published-digest>

Reconcile runtime evidence from every process

Make runtime verification part of application startup. Node defines process.pid as the current process ID and process.version as its Node version. The process.execPath field identifies the resolved executable path, while process.versions lists runtime and dependency versions. The proposed instrumentation below records those fields alongside deployment identity. Sources: Node.js

import process from 'node:process';

console.info(JSON.stringify({
  event: 'runtime-start',
  timestamp: new Date().toISOString(),
  replica: process.env.REPLICA_ID,
  role: process.env.PROCESS_ROLE,
  deployment: process.env.DEPLOYMENT_ID,
  pid: process.pid,
  version: process.version,
  execPath: process.execPath,
  versions: process.versions
}));

Supply the identity fields through the deployment system and correlate each record with the platform’s actual image digest. An environment variable alone does not prove which artifact was deployed. Reconcile every expected web process, worker and scheduled-job execution against replica, role, process ID, start time, version, executable and digest. Update scheduled-job templates and verify a subsequent execution. A separately launched version check does not inspect an already-running application.

Gate completion on transfer and authentication checks

Use staging to exercise the inventoried paths before completing the rollout. Node’s changelog describes resumption changes but does not quantify their performance cost. Treat the following as recommended acceptance checks. Define expected authentication outcomes per hostname and collect process survival, memory and file-descriptor evidence alongside responses. Sources: Node.js

  • Cancel file downloads during pending writes; check process survival and descriptor and memory recovery.
  • Exercise slow readers, backpressure and stream timeouts; check response integrity and resource use.
  • Leave request bodies undrained; observe memory and admission of additional streams.
  • Test every hostname with its permitted certificate, another hostname’s certificate, an untrusted certificate and no certificate.
  • Repeat hostname-policy checks with fresh and resumed sessions; flag unexpected authentication success.
  • Reuse outbound Agents across differing CA policies; require rejection under the stricter policy.

Compare before-and-after runs using the same hardware, concurrency, payloads, certificate chains, TLS versions and session-reuse settings. Record handshake latency, CPU, resumption rate, throughput, memory, file descriptors and crashes. Separate full handshakes from resumed connections so a changed resumption rate remains visible. Close the rollout after the process inventory reconciles and the hostname-policy checks produce the expected outcomes.

Attribution

Sources

  1. 1Node.jsWednesday, November 11, 2026 Security Releases
  2. 2Node.jsNode.js 26.13.1 (LTS)Source published (UTC)
  3. 3Node.jsNode.js 24.22.3 (LTS)Source published (UTC)
  4. 4Node.jsNode.js 22.23.5 (LTS)Source published (UTC)
  5. 5DockerBuilding best practices
  6. 6Node.jsProcess | Node.js v26.13.1 Documentation
  7. 7Amazon Web ServicesCVE-2026-123866
  8. 8TuxCareCLSA-2026:1794437216
  9. 9Amazon Web ServicesCVE-2026-123867
  10. 10Amazon Web ServicesAmazon Linux Security Center - CVE List

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on Backend

All Backend stories

Review · Backend

Review: PostgreSQL 19, a relational database with new maintenance controls

PostgreSQL 19 adds concurrent table repacking that permits access during most of the work. The PostgreSQL Global Development Group released this version of its open-source relational database on November 19, 2026. According to the project, pg_plan_advice influences planner choices, while pg_stash_advice stores and applies guidance by query identifier. The release also adds logical replication of sequence values, get-or-create operations and JSON export.

PostgreSQL

Review · Frontend

Review: MoonBit 1.0 release candidate, a language for WebAssembly and native apps

MoonBit released its 1.0 release candidate on November 26, 2026, freezing compiler changes to bug fixes until 1.0. Its primary targets are native code and WebAssembly, with JavaScript support for browsers and interfaces. The team targets February 18, 2027, for the full release with a stable core library. The async and archive packages may still receive minor API refinements. The moon fix command can apply compiler-suggested fixes.

MoonBit

Patch Node.js HTTP/2 and TLS services, then verify every running replica · BuildRiot