BIT-node-2026-123874: Node.js is vulnerable to an HTTP/2 use-after-free via respondWithFile() stream reset during a pending write

Published Nov 27, 2026
·
Updated

A use-after-free in Node.js HTTP/2 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).

Affected Software

4 affected componentsFixes available
bitnami/node>=24.0.0<24.22.3
24.22.3
bitnami/node>=25.0.0<26.13.1
26.13.1
bitnami/node-min>=24.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 24.22.3
  2. Upgrade

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

    Fixed in 26.13.1
  3. Upgrade

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

    Fixed in 24.22.3
  4. 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?

Deployments using Node.js 26.x from 26.9.0 onward or Node.js 24.x from 24.22.0 onward are affected if their HTTP/2 application serves files through stream.respondWithFile() or stream.respondWithFD(). Both TLS-protected and cleartext HTTP/2 connections are exposed.

2

Does exploitation require authentication or unusual configuration?

No. An unauthenticated client can trigger the issue, and the stated precondition is only that the application uses respondWithFile() or respondWithFD(); other settings may remain at their defaults.

3

What is the impact of a successful exploit?

A client can cause the server to dereference a freed Http2Stream while a queued socket write completes, resulting in server-memory corruption. The supplied vector indicates a high availability impact, with no stated confidentiality or integrity 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