On November 26, 2026, the Node.js team unveiled version 27.0.0-alpha.0.2.0, introducing key security updates focused on reused HTTP connections and new TLS 1.2 renegotiation controls. This release aims to enhance security by addressing vulnerabilities and offering developers the tools needed to test and adjust their applications.
Enhancements in HTTP Security
The latest alpha release addresses CVE-2026-105481, a vulnerability related to the reuse of open HTTP connections by the Node.js HTTP client. Previously, this flaw could result in misdirected data acceptance, where the client might process incoming data as a response to a request that was not yet made. The fix for this issue has been incorporated into several previous branches, including 22.x, 24.x, and 26.x.
Additionally, the update ensures that the HTTP agent no longer reuses expired idle connections, while the HTTPS agent improves its decision-making by considering more TLS settings when managing shared connections. This adjustment is crucial for maintaining secure communication, especially when requests to the same host require distinct certificate or trust configurations.
Changes in HTTP/2 and New Features
With the new release, HTTP/2 sees the enforcement of maxSessionMemory limits for client requests, ensuring that session memory constraints are respected when new streams are initiated. Alongside security improvements, the compatibility API now includes methods such as setHeaders() and writeProcessing(). These features enable applications to send a 102 Processing response before completing the final reply, maintaining familiar response methods during the transition from HTTP/1 to HTTP/2.
Moreover, informational response methods have been enhanced with callbacks, allowing applications to track header writing status, thus aiding developers in efficiently migrating their codebases.
Managing TLS 1.2 Renegotiation
Despite TLS 1.3’s exclusion of renegotiation, Node.js continues to support TLS 1.2 renegotiation, marked deprecated under DEP0213. The default settings remain unchanged; however, developers can now disable renegotiation via the allowRenegotiation: false parameter in tls.createServer() or tls.connect(). This change is in line with addressing another flaw, CVE-2026-123872, which emphasizes requesting client certificates during the initial handshake.
While the alpha release allows testing these changes, it is not a substitute for regular security updates. The November advisory specifies patched releases for versions 22.23.5, 24.22.3, and 26.13.1. Teams should apply these updates to maintain security while using the alpha to evaluate dependencies on outdated TLS handshakes.
Continued vigilance and testing are advised for development teams to ensure the robustness of their systems, particularly as security landscapes evolve. Integrating threat intelligence from numerous SOCs can provide critical insights into emerging threats, enabling swift incident response.
