BIT-node-2026-123865: Node.js is vulnerable to an HTTP/2 memory and file-descriptor leak via a protocol error during session shutdown

Published Nov 27, 2026
·
Updated

An unauthenticated HTTP/2 client can permanently leak Node.js server memory and file descriptors. If a peer triggers a protocol error, for example an oversized frame header, while the session is already shutting down, nghttp2 tears the session down internally but Node.js never notices, leaving a dangling session: the socket stays in CLOSEWAIT and all of Node.js's HTTP/2 state for that connection is held in memory indefinitely, with no further cost to the attacker. The attacker can start the shutdown remotely by sending GOAWAY(NOERROR), so it is reliable against default HTTP/2 servers. It is an incomplete-fix case of CVE-2026-48937: that fix detected nghttp2 internal terminations by watching for GOAWAY sent while not shutting down, but missed terminations that arrive while the session is already shutting down. 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 Node.js deployments are in scope?

Deployments using Node.js 26.x, 24.x, or 22.x with HTTP/2 server functionality exposed to clients are affected. The listed software packages are bitnami/node and bitnami/node-min.

2

Does exploitation require authentication or a pre-existing connection state?

No. An unauthenticated HTTP/2 client can trigger the condition remotely, including initiating shutdown with GOAWAY(NO_ERROR) before causing a protocol error.

3

Are default HTTP/2 server configurations susceptible?

Yes. The issue is described as reliable against default HTTP/2 servers because an attacker can remotely initiate the relevant session-shutdown state.

4

What evidence could indicate attempted or successful exploitation?

Affected connections can remain in CLOSE_WAIT while their Node.js HTTP/2 session state remains allocated indefinitely. Unexpected growth in CLOSE_WAIT sockets, memory usage, or open file descriptors on an HTTP/2 server may indicate impact.

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