Node.js 27.0.0-alpha.0.2.0 carries http.Agent keep-alive fix (CVE-2026-105481) and deprecates TLS 1.2 renegotiation
Node.js released 27.0.0-alpha.0.2.0 on November 26, 2026. The alpha carries forward the fix for CVE-2026-105481, a medium-severity flaw in how http.Agent reuses keep-alive sockets. It is not a new disclosure. The build also deprecates TLS 1.2 renegotiation and adds an allowRenegotiation option, though renegotiation is still enabled by default. This is a development branch, and production users do not need to move to it to get the fix. This summary comes from the article alone. No vendor advisory or repository page was consulted.
Entenda a falha
A vulnerabilidade
CVE-2026-105481 is a medium-severity flaw in the http.Agent keep-alive socket reuse in Node.js. Unread data waiting on an idle socket could be taken as the response to a new request, so a client could accept incorrect content. The articles do not say what an attacker needs (network position, configuration, interaction). Affected: Node.js 22 before 22.23.4, 24 before 24.22.1 and 26 before 26.12.1. The 27.0.0-alpha.0.2.0 development build carries the fix. A separate TLS 1.2 renegotiation flaw, CVE-2026-123872, is only mentioned as context.
Como funciona
The http.Agent keeps idle sockets open so later requests can reuse them instead of opening new connections. When a new request is handed an idle socket, the client expects the next data on it to be the answer to that request. In affected versions, data left unread on the socket from earlier traffic could be there already and be read as that answer. The pairing between request and response breaks at the moment the idle socket is reused.
Por que é vulnerável
The agent did not check whether an idle keep-alive socket still held unread data before giving it to another request, wrongly assuming a reused socket was clean. The articles do not say why it went unnoticed. The fix checks for pending data before handing the socket over and discards the connection if unread data is present.
Onde está
The articles name only the http.Agent keep-alive socket reuse as the component; they give no file, function or commit.
Como foi descoberta
The articles do not say who found the flaw or how it was reported. They say the fix first shipped in 22.23.4, 24.22.1 and 26.12.1, covered in the October Node.js security update, and that the 27 alpha carries it forward rather than being a new disclosure. The story's wording on the timing of that release is vaguer, and it places the separate renegotiation fix (CVE-2026-123872) in November's updates.
Explicação gerada por IA a partir da matéria e dos artigos, em 27/11/2026 04:16.
Detalhes técnicos
- In affected versions, unread data waiting on an idle keep-alive socket could be misread as the response to a new request. This breaks the request/response pairing, so a client could accept incorrect content.
- The fix checks for pending data before handing a socket to another request, and discards the connection if unread data is present.
- The article says the fix first shipped in 22.23.4, 24.22.1 and 26.12.1.
- The article says a separate TLS 1.2 renegotiation flaw, CVE-2026-123872 (authentication across virtual hosts), was addressed in November's security updates.
- The alpha also expands the HTTP/2 compatibility API and marks the built-in SQLite module as stable.
Remediação
- Apply the latest security release for the supported Node.js line already in use, and verify the version with
node -v, including inside deployed containers. - In staging, use
--pending-deprecationandallowRenegotiation: falseto test whether older peers still depend on renegotiation.
Linha do tempo
-
Node.js 27.0.0-alpha.0.2.0 carries http.Agent keep-alive fix (CVE-2026-105481) and deprecates TLS 1.2 renegotiation
ler a análise desta fonte ocultar
Node.js released 27.0.0-alpha.0.2.0 on November 26, 2026. The alpha carries forward the fix for CVE-2026-105481, a medium-severity flaw in how
http.Agentreuses keep-alive sockets. It is not a new disclosure. The build also deprecates TLS 1.2 renegotiation and adds anallowRenegotiationoption, though renegotiation is still enabled by default. This is a development branch, and production users do not need to move to it to get the fix. This summary comes from the article alone. No vendor advisory or repository page was consulted.Technical Details
- In affected versions, unread data waiting on an idle keep-alive socket could be misread as the response to a new request. This breaks the request/response pairing, so a client could accept incorrect content.
- The fix checks for pending data before handing a socket to another request, and discards the connection if unread data is present.
- The article says the fix first shipped in 22.23.4, 24.22.1 and 26.12.1.
- The article says a separate TLS 1.2 renegotiation flaw, CVE-2026-123872 (authentication across virtual hosts), was addressed in November's security updates.
- The alpha also expands the HTTP/2 compatibility API and marks the built-in SQLite module as stable.
Remediation
- Apply the latest security release for the supported Node.js line already in use, and verify the version with
node -v, including inside deployed containers. - In staging, use
--pending-deprecationandallowRenegotiation: falseto test whether older peers still depend on renegotiation.