BIT-node-2026-123864: Node.js is vulnerable to cross-connection memory disclosure via TLS write re-entrancy in the HTTPS request parser

Published Nov 27, 2026
·
Updated

A re-entrancy flaw in Node.js HTTPS lets an unauthenticated client read memory belonging to other connections, including TLS private keys and other users' requests. TLSWrap::DoWrite() calls ClearOut() directly when asked to write zero bytes; if that write is issued from JavaScript running inside the HTTP parser's onbody callback, ClearOut() decrypts the next TLS record while the parser is still mid-body, re-entering llhttpexecute() and causing a use-after-free and an out-of-bounds heap read. The server then copies that freed or unrelated heap memory into the response for the request body. Triggering it requires a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk, and reading the leaked memory requires any ordinary route that echoes or stores a request body. Cleartext node:http is not affected. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

Affected Software

6 affected componentsFixes available
bitnami/node<22.23.5
22.23.5
bitnami/node>=23.0.0<24.22.3
24.22.3
bitnami/node>=25.0.0<26.13.1
26.13.1
bitnami/node-min<22.23.5
22.23.5
bitnami/node-min>=23.0.0<24.22.3
24.22.3
bitnami/node-min>=25.0.0<26.13.1
26.13.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 22.23.5
  2. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 24.22.3
  3. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 26.13.1
  4. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 22.23.5
  5. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 24.22.3
  6. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 26.13.1

Event History

Nov 27, 2026
Advisory Published
via OSV·05:50 AM
Data Sourced
via OSV·05:50 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Only HTTPS/TLS Node.js servers are affected; cleartext node:http is not affected. The issue affects Node.js 26.x, 24.x, and 22.x, including the listed bitnami/node and bitnami/node-min software.

2

What application behavior is required for exploitation?

An attacker must be able to send requests to a handler that calls res.flushHeaders() before the request body has ended and subsequently calls res.end() with a non-empty chunk. Recovering disclosed data also requires an ordinary route that echoes or stores a request body.

3

Does exploitation require authentication or user interaction?

No. The vulnerability can be triggered by an unauthenticated network client and does not require user interaction.

4

What data could be disclosed?

The server may copy freed or unrelated heap memory into a response body. Disclosed memory can include data from other connections, such as TLS private keys and other users' requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203