Node.js 27 Alpha Adds HTTP Security Protections and Deprecates TLS 1.2 Renegotiation

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


The Node.js project released a version 27.0.0-alpha.0.2.0 on November 26, 2026, bringing security fixes for reused HTTP connections and new controls for TLS 1.2 renegotiation.

The official release notes also list changes to HTTP/2 memory limits and HTTPS connection pooling. The alpha does not remove TLS 1.2 or turn off renegotiation by default. Instead, it gives developers a way to disable renegotiation now and test which services still depend on it.

Node.js 27 Tightens HTTP Connection Reuse

The alpha carries forward a fix for CVE-2026-105481, a flaw in how the Node.js HTTP client reuses open connections. Reusing a connection avoids opening a new one for every request, but the client must still match each response to the right request.

The flaw could cause Node.js to accept data that arrived before a request was sent as the response to that request. The fix had already shipped for the 22.x, 24.x, and 26.x branches, as covered in our October Node.js security update.

The release also stops the HTTP agent from reusing expired idle sockets and makes the HTTPS agent account for more TLS settings when deciding which connections can be shared.

That separation matters when requests to the same host use different certificate or trust settings. On the HTTP/2 side, the alpha enforces maxSessionMemory for client requests, applying the configured session memory limit when clients open new streams.

Not every HTTP/2 change is a security fix. The compatibility API gains setHeaders() and writeProcessing(), which sends a 102 Processing response before the final reply.

Informational response methods also gain callbacks, letting applications track whether those headers were written. These changes help teams move code from HTTP/1 to HTTP/2 without losing familiar response methods.

TLS 1.2 Renegotiation Remains On by Default

Renegotiation lets a client or server repeat the TLS handshake without closing the connection. TLS 1.3 does not support it. Node.js marks the TLS 1.2 feature as deprecated under DEP0213, but the implementation notes make clear that the default has not changed.

Developers can set allowRenegotiation: false in tls.createServer() or tls.connect() today. A future release is expected to disable it by default and later keep only limited client support for older servers.

The change follows a separate certificate-check flaw, CVE-2026-123872, covered in our November Node.js security report. For applications that need client certificates, Node.js recommends requesting them during the first handshake using requestCert rather than relying on renegotiation.

Clients that need different TLS settings should open a new connection. Teams can run the alpha in staging with --pending-deprecation to surface warnings while testing older integrations.

For production, the alpha is a test build, not a replacement for security updates on supported branches. The November security advisory lists v22.23.5, v24.22.3, and v26.13.1 as patched releases.

Teams should use those versions or newer patched builds on their chosen branch and use the alpha to check whether older gateways, partner APIs, or internal services still rely on a second TLS handshake.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Node.js 27 Alpha Adds HTTP Security Protections and Deprecates TLS 1.2 Renegotiation appeared first on Cyber Security News.