Node.js HTTP/2 and TLS wave (15 GHSAs): cross-connection heap reads and mTLS policy bypass¶
Source: hourly offensive-security scan of GitHub Security Advisories, 2026-11-11T21:32Z coordinated wave (Node.js core package; bands span 22.x, 24.x, 26.x with several legs narrowed to 24.22.0+/26.9.0+). The updated-feed sweep after 16:10Z was Storm/Batik re-listings plus Red Hat backfills only; this 21:32Z wave is the day's center of gravity.
Fifteen advisories on the Node.js HTTP/2, TLS, and zlib stack, nearly all reachable by an unauthenticated remote client, and three of them are cross-connection memory reads: one leaks other connections' heap (including TLS private keys) into your own response body, one leaks other connections' response buffers on stream teardown, and a trio defeats per-host and per-policy TLS authentication by abusing session state rather than breaking crypto. If your target terminates HTTP/2 or mutual TLS in Node, this page is a standing probe battery.
Advisory table¶
| Leg | GHSA | CVE | Sev | Boundary |
|---|---|---|---|---|
| HTTPS re-entrancy heap read | GHSA-m526-rv55-w6mr | CVE-2026-123864 | high | Zero-byte write from inside the parser's on_body callback makes TLSWrap::DoWrite() call ClearOut(), which decrypts the next TLS record while llhttp is mid-body, re-entering the parser: UAF/OOB read whose freed/unrelated heap is then copied into the response for the request body. Leaked memory can include TLS private keys and other users' requests. Needs a handler that calls res.flushHeaders() before the body ends then res.end(chunk); read-back needs any route that echoes or stores a request body. Cleartext node:http unaffected. |
| TLS 1.2 renegotiation SNI swap | GHSA-v64j-2jhv-ww23 | CVE-2026-123872 | high | On a server with different client-cert policies per hostname (strict admin-only mTLS on one vhost, ordinary on another), a client authenticated for the permitted host renegotiates under a different servername and carries its existing authentication into the protected host. |
| CA-only SNI context fail-open | GHSA-xhqh-vr6v-3wgj | CVE-2026-123867 | medium | server.addContext(host, { ca: protectedCA }) without a server cert in that SNI context: setSniContext returns false, the per-host client CA is never installed, and the handshake silently falls back to the default client CA. A default-CA client reads the protected hostname despite requestCert + rejectUnauthorized. |
| https.Agent session-cache key collapse | GHSA-4g6g-xjc7-fh73 | CVE-2026-123877 | medium | getName() keys ca omitted and ca: [] identically (both append nothing), so a TLS session authenticated under the default trust store is resumed for a later request that demands an empty CA set; TLS 1.3 resumption carries the earlier authentication forward and the stricter request reports authorized === true. |
| H2 session-teardown assertion | GHSA-cwc7-c9hg-jq89 | CVE-2026-123863 | high | A stream removed from the session but never detached leaves nonzero nghttp2 memory at ~Http2Session(), the CHECK_EQ aborts the process. Trigger: any default http2 server whose handler responds before the request body ends (typical). Variant of CVE-2024-27983 the old fix missed. |
| H2 respondWithFile UAF | GHSA-vgqh-cxw6-x64x | CVE-2026-123874 | high | Free the Http2Stream while a write referencing it is queued; the completion does a virtual call through freed memory. Precondition: app serves files via respondWithFile()/respondWithFD(). |
| H2 file-cancel NULL deref | GHSA-v6qh-ch8g-j833 | CVE-2026-123875 | medium | Cancel a respondWithFile()/respondWithFD() download; StreamPipe teardown order leaves a NULL deref, process abort. No crafted frames needed. |
| H2 dangling-session leak | GHSA-jj6m-hq7p-qvhr | CVE-2026-123865 | high | Peer triggers a protocol error (oversized frame header) while the session is already shutting down: nghttp2 tears down internally, Node never notices, socket stays CLOSE_WAIT holding all H2 state forever. Attacker starts shutdown remotely with GOAWAY(NO_ERROR). Incomplete fix of CVE-2026-48937. |
| H2 teardown response leak | GHSA-52jx-xggf-7f6v | CVE-2026-123866 | high | Tear down a stream while its write is backpressured (peer RST_STREAM, or server per-stream timeout); the response buffer is freed but still referenced, so freed/unrelated heap, including other connections' response buffers, is written to your socket. |
| H2 unaccounted DATA queue | GHSA-fxrg-pjjh-rp27 | CVE-2026-123868 | medium | Inbound DATA on an undrained stream is charged to no session budget: ~10 wire bytes per one-byte DATA frame retains ~114 server bytes; maxSessionMemory gates admission on the same blind counter. One stream retains hundreds of MB. |
| H2 Alt-Svc OOB write | GHSA-5pfh-35r8-498j | CVE-2026-123828 | medium | App passes attacker-controlled :authority to Http2Session.altsvc(); buffer sized to origin length, written with a NUL one byte past the end. Remote heap corruption/abort. |
| TLS deferred-callback crash | GHSA-qggj-xpj2-fcw3 | CVE-2026-126051 | high | Any of SNICallback, OCSPRequest, newSession, resumeSession, or addContext defers an OpenSSL callback that does not handle the socket dying between scheduling and execution: client hello (e.g. no SNI + OCSP request) + padding + FIN lands hello and EOF in one tick, uncaught exception instead of 'error'. |
| zlib params abort | GHSA-827v-4jh3-rppr | CVE-2026-123862 | low | Peer disconnect during deflate.params() queued flush: internal assert throws past the stream error event, pipeline callback, and error handler, uncatchable process exit. |
| Proxy credential leak (incomplete fix) | GHSA-8669-428h-mj7x | CVE-2026-123871 | medium | CVE-2026-48615 redacted proxy creds from ProxyConfig.href but four error paths in the same subsystem, one in the same constructor, still interpolate the raw proxy URL into ERR_PROXY_INVALID_CONFIG: credentials land in stderr, container logs, log aggregation, crash reporting. |
| Permission-model watch disclosure | GHSA-fxj5-xgw6-cx7g | CVE-2026-123829 | low | macOS/Windows recursive fs.watch() checks the read grant once on the root, then forwards every libuv-reported filename at any depth: --permission code with an exact-dir grant learns sub/secret.txt names it may not readdir. |
Why this matters for operators¶
- Handler shape is the vulnerability predicate. Half this wave fires only for specific handler patterns, not specific frameworks:
res.flushHeaders()before body end + non-emptyres.end(chunk)(123864), handler responding before the body ends (123863),respondWithFile()/respondWithFD()(123874, 123875), attacker-controlled value intoaltsvc()(123828),deflate.params()(123862), SNICallback/OCSP/newSession hooks (126051). When fingerprinting a Node service, classifying the handler shape of each route (does it respond early? does it stream files? does it echo bodies? which TLS hooks are registered?) predicts exploitability better than the version banner. These are whitebox greps for code review and blackbox timing/response behaviors for external triage. - Pair every leak with an echo sink. The read primitives only pay out where a route echoes or stores what it received (123864 explicitly requires a body-echoing route for read-back). Recon rule on any Node front-end: enumerate routes that reflect request bodies, store them for later display, or parse multipart/JSON and re-emit; they are the exfil channel for every heap-disclosure bug in the family. The same pairing rule already lives on this wiki for scanner telemetry and log viewers; here it is protocol-level.
- TLS session and SNI state is an authorization input, and it mutates. Three independent legs (123872, 123867, 123877) break per-host and per-policy mTLS without touching crypto: renegotiation swaps the servername under an existing authenticated session; a CA-only SNI context silently keeps the default CA because the install path short-circuits when no server cert is configured; an agent session-cache key that omits the CA dimension lets TLS 1.3 resumption launder a broader trust decision into a stricter request. Decision battery for any Node mTLS terminator: (a) authenticate to the permissive vhost, then renegotiate/reuse toward the strict one; (b) enumerate
addContextSNI contexts and test each with default-CA vs protected-CA clients; (c) as a client, request the same origin withcaomitted thenca: []and diffauthorized. Sibling genealogy: the Oct 14 NGINX forged-session-state mTLS bypass (session state as authorization input) and the Oct 8 hMailServer local-connection trust exemptions. - Fuzz the lifecycle/teardown state machine, not just the grammar. Six H2 legs live in teardown and shutdown transitions: respond-before-body-end (123863), write-queued-across-free (123874, 123866), cancel-mid-file (123875), protocol-error-during-shutdown (123865), unaccounted DATA queue (123868). The canonical frame grammar is fuzzed everywhere; GOAWAY/RST_STREAM/timeout/disconnect interleavings are not. Probe ladder on a lab server: send
GOAWAY(NO_ERROR)then a malformed frame;RST_STREAMa backpressured response mid-write; kill the TCP peer duringparams()/file streaming. And note the genealogy tell: 123863 and 123865 are both incomplete fixes of earlier CVEs (2024-27983, 2026-48937) where the fix covered one state of the machine. When a protocol DoS/UAF is patched, re-fuzz the sibling transitions; a vendor that fixed "one order of operations" has not fixed the state machine. - Budget enforcement must see every queue. The 123868 leg is the cap-semantics lesson again:
maxSessionMemoryexists, is configured, and does nothing because the receiving queue is charged to a counter it never feeds. For any product with resource-limit knobs, prove the knob changes observable behavior (connection count vs memory retained per cheap unit of traffic) before trusting it; the wire-cost-to-retained-cost ratio (~1:11 here) is a cheap amplifier for any later slowloris-style work. - Error-message sinks leak environment secrets. 123871 emits proxy credentials into stderr/log-aggregation because four formatter paths missed a redaction fix. For red-team log-hunting and for bug bounty report quality:
grep -r "ERR_" node_modules-style sink checks and simply crashing the app on purpose in a lab (bad proxy URL, bad config) shows what lands in container logs. Crash-report and log-aggregation pipelines are a standing credential-harvest target on shared platforms. - Permission-model boundary is checked once, at the root. 123829 is the grant-at-entry vs event-at-depth gap; generalizes to any watcher/recursive-walk API under a sandbox: validate on every emitted path, not on the invocation argument.
Validation workflow (authorized labs only)¶
Owned Node servers only; no production heap reads
Run against Node versions you control in lab. All proofs bounded to synthetic data: your own key material as the leak marker, synthetic response bodies, disposable file-serving routes. Never attempt cross-tenant reads on shared infrastructure.
- Version and shape triage: banner the runtime (
serverheader, error shapes,process.versionvia any debug route); whitebox where possible, grep handlers forflushHeaders,respondWithFile,respondWithFD,altsvc(,params(,SNICallback,OCSPRequest,newSession,addContext. - Leak-with-echo pairing: on a lab server with an echo route, start a second connection carrying a marker secret (your own disposable key), then drive the re-entrancy shape (slow body + early
flushHeaders) and grep the echo output for marker bytes. Positive control on the vulnerable build, negative on the fixed one. - mTLS policy matrix: lab server with two SNI hosts, one permissive client CA, one protected CA (and one CA-only context with no server cert). Attempt: permissive-cert client reaches protected host via TLS 1.2 renegotiation; default-CA client reaches the CA-only context host; agent
ca-omitted-then-ca:[]reuse for the same origin. Evidence = authorization verdicts per cell, with cert subjects redacted. - Teardown battery: against a lab H2 server: GOAWAY-then-malformed-frame; RST_STREAM during a backpressured response; cancel a
respondWithFile()transfer; one-byte DATA flood on an undrained stream withmaxSessionMemoryset. Evidence = process state transitions, RSS curve per wire byte, CLOSE_WAIT inventory. Crash tests only on owned hosts. - Log-sink harvest: set a malformed
HTTP(S)_PROXYwith marker credentials in a lab container; capture theERR_PROXY_INVALID_CONFIGtext to confirm the sink; on real engagements, check what the aggregation pipeline ingests, never exfiltrate third-party credentials.
Reporting checklist¶
- Node major/minor (bands differ per leg: several legs need 24.22.0+/26.9.0+ for remote-driven teardown; others span 22.x).
- For read legs: the handler shape that triggers (flushHeaders-before-body-end, respondWithFile, backpressured teardown), the echo/read-back route, and proof bounded to your own marker data; say plainly whether leaked bytes were yours.
- For mTLS legs: the exact policy configuration assumed (per-host client CAs, CA-only SNI context, agent
causage) and the decision-matrix table; these are config-dependent findings, reproduce with the minimal config snippet. - For DoS/leak legs: wire-cost-to-retained-cost or crash-rate evidence from a lab server, and whether the configured budget knobs moved the numbers.
- For 123871: the sink list (stderr, container log driver, crash reporter) with credentials redacted to marker strings.
Same-wave tracked no-publish: Webmin delegated-admin module self-grant (gch6/126780, known capability-grant class) and cert_issue DN-newline root-entry injection (j6x6/126781, config-file line-injection class known); Rote OAuth bind/merge account takeover (5fvm/126801, OAuth-bind merge lacking ownership check, sibling of Sept 16 IdP identity-match family) and admin jwtSecret plaintext read then HS256 forge (8927/126803, known read-secret-to-forge class); blueprintUE docker-compose MYSQL_ALLOW_EMPTY_PASSWORD=yes + published 3306 (2qmp/126812, known insecure-default-publish class); Cockpit ssh-add symlink LPE (7vqx/91151) + WS fragmentation OOM (pcrv/91150); TINACMS MDX serializer unescaped expression write (8rw5/126774, generator-to-code class); Lagarto Chivato pre-account hijack (f39m/126815); PAN-OS low/medium overflow + GlobalProtect singles (CVE-2026-0325..0331); Dell OpenManage/Terraform cert-validation band singles; Hydro/AVideo/BookStack/WP ERP XSS-authz singles.