Home › CVE › JavaScript
CVE-2026-123866 — nodejs node
One of 15 nodejs node vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesResearch article
Node.js HTTP/2 Stream Teardown Use-After-Free (CVE-2026-123866) Can Leak Cross-Connection Response Data
| CVE | CVE-2026-123866 |
|---|---|
| Vendor and product | nodejs node |
| Published | November 12, 2026 07:11 UTC |
| Research cut-off | November 12, 2026 05:50 UTC |
| Updated | November 20, 2026 16:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-11); CISA KEV catalog |
Update — November 20, 2026
- The CNA scored it CVSS 3.1 7.5 (High): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. (NVD record)
Executive summary
A use-after-free flaw in Node.js's HTTP/2 implementation, tracked as CVE-2026-123866, can cause memory from unrelated connections' response buffers to be written to a peer's socket instead of the intended response [1]. The National Vulnerability Database (NVD) scores it 7.5 (HIGH) under CVSS 3.0 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating a network-exploitable, low-complexity, unauthenticated confidentiality-only flaw requiring no user interaction [1]. The weakness is classified as CWE-416 (Use After Free) [1]. It affects Node.js release lines 22.x, 24.x, and 26.x, with vendor-published fixes at 22.23.5, 24.22.3, and 26.13.1 respectively [1]. On the two newer supported lines, a specific window-size behavior introduced in versions 24.22.0 and 26.9.0 allows a remote peer alone to trigger the stream teardown condition; on all affected lines, a server-side event such as a stream-level idle timeout can also trigger it [1]. The CVE record does not confirm active exploitation, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of 2026-11-12, though absence from KEV does not prove exploitation has not occurred [2]. Organizations running affected Node.js versions with HTTP/2 enabled should prioritize upgrading to the fixed releases identified in the vendor advisory referenced by NVD [1].
Key points
- CVE-2026-123866 is a use-after-free (CWE-416) in Node.js's HTTP/2 stream teardown handling that can leak another connection's response buffer contents to a peer [1].
- CVSS 3.0 base score is 7.5 (HIGH), vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N — network-reachable, no privileges or user interaction needed, confidentiality-only impact [1].
- Affected: Node.js < 22.23.5, < 24.22.3 (from 23.0.0), and < 26.13.1 (from 25.0.0); fixed in 22.23.5, 24.22.3, and 26.13.1 respectively [1].
- On 24.x (≥24.22.0) and 26.x (≥26.9.0) a remote peer alone can trigger the teardown condition via a window-size behavior; on all affected lines a server-side trigger such as a per-stream idle timeout can also cause it [1].
- CVE-2026-123866 is not listed in the CISA KEV catalog as of 2026-11-12, and no exploitation-in-the-wild or proof-of-concept evidence appears in the reviewed sources, though catalog absence does not prove no exploitation has occurred [2].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-123866 |
| Vendor | OpenJS Foundation / Node.js project |
| Product | Node.js |
| Component | HTTP/2 (http2) module, stream teardown logic |
| Affected platform | All platforms supported by affected Node.js releases |
| Published | 2026-11-11T19:17:33 [1] |
| Last modified | 2026-11-11T19:17:33 [1] |
| Record status | Received [1] |
| CWE | CWE-416, Use After Free — memory is referenced and used after it has been freed, leading to undefined behavior such as reading or transmitting stale or unrelated heap contents [1] |
| CVSS 3.0 | 7.5 HIGH — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, scored by submitter ce714d77-add3-4f53-aff5-83d477b104bb, Secondary scorer [1] |
| Related identifiers | Vendor advisory: OpenJS security advisories page and the November 2026 Node.js security release blog post, both referenced in the NVD record without additional tags [1] |
Only one CVSS score, from NVD's secondary scorer, is present in the reviewed evidence; no vendor-assigned CVSS score or alternate scoring is available in the pack. No related CVEs are listed in the record.
Technical background
Node.js is a server-side JavaScript runtime whose built-in http2 module implements the HTTP/2 protocol, including multiplexed streams over a single TCP connection. Each HTTP/2 stream has its own flow-control window and response buffer, and multiple streams — potentially belonging to different client connections when a server process handles many sockets — are managed within the same event loop and, in some deployments, shared memory pools or buffer allocators. Flow control in HTTP/2 allows a receiver to limit how much unacknowledged data a sender can transmit on a stream; when the receiver's advertised window is exhausted, the sender's pending write becomes "backpressured" until the window is replenished or the stream ends. A stream can be torn down (destroyed) in several ways: normally on completion, via a peer-sent RST_STREAM frame that aborts the stream, or via server-side logic such as a per-stream idle timeout that closes an inactive stream. Because Node.js streams are implemented in a mix of C++ (the underlying nghttp2-based binding) and JavaScript, buffer lifetime management for in-flight writes depends on coordinated reference counting and callback ordering across this boundary; a mismatch between when a buffer is freed and when it is still referenced by a pending write callback is a trust-boundary and memory-safety issue internal to the runtime rather than something application code can directly control.
Vulnerability description
The flaw violates confidentiality: the CVSS vector confirms impact only to confidentiality (C:H), with no integrity or availability impact recorded (I:N/A:N) [1]. The flawed component is the HTTP/2 stream teardown path that handles a backpressured write when the associated stream is destroyed [1]. When teardown occurs while a write to that stream is still waiting on flow control, the response buffer backing that write is freed, but a dangling reference to it continues to be used by the write completion path, so the socket subsequently transmits whatever memory now occupies that freed region — which may be freed memory, or another connection's response buffer contents [1]. For this to matter in practice, the affected process must have at least two concurrently active HTTP/2 connections or streams whose buffers can occupy the same freed memory region, and a teardown must occur specifically while a write remains backpressured [1]. The evidence does not establish that this flaw permits code execution, integrity tampering, or denial of service; the CVSS vector and description both scope the impact to a confidentiality leak of response data written to the wrong peer [1].
Root cause analysis
Confirmed (per the CVE description): the root cause is a use-after-free in the stream teardown path, where a response buffer is deallocated while a reference to it is still held and later dereferenced during write completion [1]. The record identifies two distinct triggers that reach this defective path: first, on Node.js 26.x and 24.x, a change to window-size handling delivered in versions 26.9.0 and 24.22.0 made it possible for a remote peer, without any server-side action, to drive the stream into teardown while a write is backpressured [1]; second, across all three affected release lines, the same teardown-while-backpressured condition can also be produced by server logic that ends a stream on its own initiative, such as a configured per-stream idle timeout [1]. Analyst assessment: the underlying defect is likely a missing or improperly ordered reference-count decrement, or a callback that fires after its backing buffer has already been released, during the interaction between the C++ binding layer and JavaScript-level stream destruction logic; however, the reviewed sources do not disclose the exact code path, function names, or commit responsible, so this architectural explanation should be treated as an inference rather than a vendor-confirmed detail. Why existing controls fail: ordinary input validation and authentication checks are irrelevant to this class of error because the defect occurs after a request has been accepted and processing has begun; memory-safety is instead the relevant control, and it failed because the freed buffer remained reachable through a stale reference that the runtime did not null out or guard before reuse.
Technical mechanics
- A client establishes an HTTP/2 connection and opens one or more streams; the server begins writing a response on a given stream [1].
- The peer's advertised flow-control window for that stream is exhausted (or made insufficient), so the pending write is backpressured and queued rather than flushed immediately [1].
- While the write remains queued, the stream is torn down. This can happen because the peer sends RST_STREAM, or because the server destroys the stream unilaterally, for instance through a per-stream inactivity cutoff [1].
- On Node.js 26.x and 24.x releases at or above 26.9.0 and 24.22.0 respectively, the window-size handling introduced in those versions allows step 3's remote-triggered path to be reached without any server-side timeout being involved, meaning a peer acting alone can force the condition [1].
- During teardown, the stream's response buffer is released (freed) by the runtime [1].
- A reference to that freed buffer is still held by the pending write's completion logic, which is invoked after the free [1].
- The write completion path writes the data currently located at that memory address to the socket — which, because the memory was freed and may be reused, can now contain unrelated data such as another connection's response buffer contents [1].
- The peer that triggered or is otherwise connected during this sequence receives data it was never authorized to see.
[Write queued, backpressured] -> [Stream destroyed (RST_STREAM or idle-timeout)]
-> [Response buffer freed] -> [Stale reference still used by write-completion callback]
-> [Freed/unrelated memory written to socket] -> [Peer receives leaked bytes]
The control that should have prevented this is a lifetime/reference check ensuring a buffer is not read or transmitted after its memory has been released — this check was evidently missing or ineffective in the teardown path prior to the fix [1].
Attack surface and exploitation prerequisites
| Dimension | Detail |
|---|---|
| Access vector | Network (AV:N) — reachable by any party able to establish an HTTP/2 connection to the service [1] |
| Attack complexity | Low (AC:L) per the CVSS vector [1] |
| Privileges required | None (PR:N) [1] |
| User interaction | None (UI:N) [1] |
| Required feature/configuration | The server must have the http2 module/protocol active and accept HTTP/2 connections; on 24.x/26.x the specific vulnerable remote-only path additionally requires the server to be running 24.22.0/26.9.0 or later (but below the fix) so the relevant window-size behavior is present [1] |
| Attacker position | Any network peer able to reach the HTTP/2 listener; no authentication to the application is indicated as required by the CVSS vector [1] |
| Environmental dependency | Exploitation of the confidentiality leak depends on another connection's or stream's response buffer occupying the freed memory region at the time of the erroneous write; this timing/memory-layout dependency is not quantified in the reviewed sources |
The "no privileges, no user interaction" prerequisites are drawn directly from the CVSS vector rather than from a separate exploitation narrative in the sources; the pack does not independently describe attacker tooling or a demonstrated exploit chain.
Exploitation scenarios and attack lifecycle
Illustrative (not confirmed by a source as an observed attack): an external client opens multiple HTTP/2 streams to a Node.js server exposing an API, deliberately lets its own receive window shrink so that server responses become backpressured, then sends RST_STREAM to abort the stream while the write is pending [1]. If the server is running an affected 24.x or 26.x build with the described window-size behavior present, this single peer-controlled sequence can drive the teardown without needing the server to apply any timeout [1]. The server's stream-teardown logic frees the response buffer but still services the pending write with a stale reference, and bytes belonging to a different connection's in-flight response may be sent back to the attacker's socket [1]. Defensive opportunities include patching before exposure, restricting which networks can reach the HTTP/2 listener, and monitoring for anomalous response sizes or TLS-layer decryption review in environments where that is feasible and authorized.
A second, illustrative scenario applies to all three affected lines: an idle or slow client causes a server-side per-stream idle timeout to fire while a response write is still backpressured, independent of any remote window manipulation [1]; the same freed-buffer-reuse mechanism then applies. This path does not require the 24.22.0/26.9.0 window-size behavior and is therefore relevant even to deployments that have not adopted the newer minor versions, as long as they are below the fixed release [1].
Impact analysis
| Dimension | Demonstrated impact | Plausible downstream consequence |
|---|---|---|
| Confidentiality | High — response buffer contents from an unrelated connection or stream may be disclosed to a peer (C:H) [1] | Exposure of sensitive response data (e.g., another tenant's or user's API response) depending on what the server returns |
| Integrity | None indicated (I:N) [1] | Not established by the reviewed sources |
| Availability | None indicated (A:N) [1] | Not established by the reviewed sources |
| Authentication/authorization | No bypass described [1] | Not applicable per the evidence |
| Data/privacy | Potential leakage of response content across connections, which could include personal or confidential data depending on the application [1] | Regulatory exposure (e.g., data-protection obligations) if leaked content includes regulated data — not confirmed by sources, context-dependent |
| Business operations | Not established by the reviewed sources | Reputational or contractual impact if cross-tenant data exposure occurs in multi-tenant deployments |
Affected products and versions
| Vendor | Product | Affected versions | Platform | Fixed version | Source/confidence |
|---|---|---|---|---|---|
| OpenJS Foundation | Node.js | ≥ 0.0.0, < 22.23.5 | All supported platforms | 22.23.5 | NVD CVE record, vendor-published range [1] |
| OpenJS Foundation | Node.js | ≥ 23.0.0, < 24.22.3 | All supported platforms | 24.22.3 | NVD CVE record, vendor-published range [1] |
| OpenJS Foundation | Node.js | ≥ 25.0.0, < 26.13.1 | All supported platforms | 26.13.1 | NVD CVE record, vendor-published range [1] |
The remote, peer-only trigger path is specifically tied to the window-size behavior present from 24.22.0 onward in the 24.x line and from 26.9.0 onward in the 26.x line; versions in those lines prior to those minor releases are still listed as affected but would require the alternative, server-initiated teardown trigger (e.g., an idle timeout) rather than the peer-only path [1]. The 22.x line's affected range (< 22.23.5) is not qualified with a window-size version threshold in the record, so the peer-only path is not established for that line by the reviewed evidence [1]. No configuration exclusions or partial-exposure caveats beyond use of the http2 module are given in the sources.
Exploitation and threat intelligence status
Exploitation in the wild is not confirmed by either reviewed source. CVE-2026-123866 does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog as of 2026-11-12, the date of the catalog check [2]. The CISA source explicitly notes that catalog absence is not proof that exploitation has not occurred [2]. No proof-of-concept code, exploit repository, threat actor, campaign, or targeted sector is referenced in either source. The NVD record provides only the vendor-derived vulnerability description and references to the OpenJS advisory page and the Node.js November 2026 security-release blog post, with no further intelligence markers [1]. Given this, the current status should be characterized as: a vendor-confirmed, patched vulnerability with no corroborated reports of active exploitation and no public KEV listing as of the cut-off date.
Indicators of compromise
Not established by the reviewed sources. Neither the NVD record nor the CISA KEV entry provides file hashes, IP addresses, domains, URLs, process names, command lines, or log event signatures associated with this vulnerability [1][2]. Organizations should not treat the absence of published indicators as evidence that exploitation attempts have not occurred, and any indicator obtained from future sources should be validated for currency before use in blocking rules.
Detection and exposure assessment
- Inventory all hosts and containers running Node.js and record the exact runtime version using the Node.js binary's own version flag (
node -v), which is standard tooling built into the runtime; compare the reported version against the affected ranges in the Affected products table to determine if it is below 22.23.5, 24.22.3, or 26.13.1 as applicable [1]. This confirms version exposure only, not whether the HTTP/2 code path has been reached or exploited. - Check whether the application actually loads and uses the
http2core module (for example viarequire('http2')ornode:http2) and whether it accepts HTTP/2 connections (h2 or h2c); if HTTP/2 is not in use, this specific vulnerability's attack surface does not apply, though the installed Node.js version may still require patching for other reasons. - Review server configuration for any per-stream idle timeout settings on HTTP/2 servers, since this is one of the two documented triggers for the teardown condition [1]; identifying such a configured timeout indicates the application-triggered path is reachable regardless of the Node.js minor version in use.
- For 24.x and 26.x deployments, note specifically whether the running version is at or above 24.22.0 or 26.9.0 respectively (and below the fix), since that identifies exposure to the remote-peer-only trigger path described in the record [1].
- No vendor-provided scanner, log signature, or detection script is referenced in the reviewed sources; authenticated vulnerability scanning against a maintained CPE/version database remains the most practical automated method, cross-checked against the version ranges above.
Immediate mitigation
- Where feasible, restrict network reachability of HTTP/2 listeners to trusted networks only (e.g., via firewall rules or security groups), reducing the pool of parties able to send the RST_STREAM/window-manipulation sequence described in the record; this is an analyst-derived compensating step based on the documented remote network vector (AV:N) [1], not a vendor-stated mitigation. Side effect: may block legitimate external clients if applied too broadly; verify by confirming firewall rule hit counts and testing legitimate client connectivity.
- If the application configures a per-stream idle timeout, review whether it can be temporarily disabled or lengthened to reduce the frequency of application-triggered teardown-while-backpressured conditions; this follows from the documented trigger mechanism [1] but is not a vendor-issued workaround and has the side effect of potentially allowing stalled streams to consume resources longer. Verify by confirming the configuration value in the running process matches the intended change.
- Increase monitoring of outbound response sizes or anomalies on HTTP/2 connections where feasible in the environment, as an interim detective control pending the patch; this is an analyst-derived suggestion, not sourced from vendor guidance, and has no confirmed detection signature to rely on.
- None of these measures address the underlying use-after-free; they only reduce the likelihood or narrow the conditions under which the defective code path is reached.
Permanent remediation
The vendor-confirmed fix is to upgrade Node.js to the fixed release for the applicable line: 22.23.5, 24.22.3, or 26.13.1, as published via the OpenJS security advisories page and the Node.js November 2026 security-release blog post referenced in the NVD record [1]. Upgrade prerequisites: confirm application compatibility with the target minor/patch version (no breaking-change caveats are described in the reviewed sources, but standard Node.js version-compatibility testing should be performed before production rollout). Maintenance window and rollback: treat this as a standard Node.js runtime patch — take a configuration/application backup, schedule a maintenance window appropriate to the service's change-control process, and retain the ability to roll back to the prior build if the upgrade introduces regressions; the sources do not specify any unusual rollback constraints. A process restart is required for any Node.js binary/version upgrade to take effect, since the new runtime binary must be loaded; this follows from standard Node.js operational behavior rather than being separately stated in the sources. No additional post-upgrade configuration change is described in the record as being required to complete the fix.
Workarounds and compensating controls
No vendor-sanctioned workaround is described in the reviewed sources; the only documented resolution is upgrading to the fixed version [1]. In the absence of immediate upgrade capability, the network-restriction and idle-timeout-adjustment measures listed under Immediate mitigation may reduce exposure, but they do not eliminate the underlying use-after-free condition and leave residual risk: a sufficiently capable peer on an allowed network segment, or a legitimate server-triggered timeout, can still reach the defective teardown path [1]. These measures should be treated as temporary risk-reduction only, not as equivalent to patching.
Validation and verification
- Confirm the installed Node.js version on each affected host or container image using the runtime's own version command, and record that it reports 22.23.5, 24.22.3, or 26.13.1 or later within the respective line [1].
- Confirm that any temporary network restrictions or idle-timeout changes applied as interim mitigations have been reverted or retained per policy, and document the decision.
- Re-run authenticated vulnerability scanning against the patched hosts to confirm the scanner no longer flags the CVE-2026-123866 version range.
- Review application and server logs for the period following the upgrade to confirm the HTTP/2 service continues to operate without new errors in stream handling.
- Where compensating network controls were left in place, confirm they remain correctly configured and documented, including owner and review date.
- Record the evidence (version output, scan report, change ticket) with the responsible owner and date, and note any systems granted a temporary exception along with their planned remediation date.
Incident response
If cross-connection response data leakage is suspected (for example, a client reports receiving content that does not match its request), scope the investigation to identify which Node.js hosts and versions were running HTTP/2 at the time, consistent with the affected-version table above [1]. Preserve relevant application and web-server logs, and any captured network traffic, before making configuration changes that could overwrite log retention windows. Investigate whether the server was using a per-stream idle timeout or was exposed to peer-initiated RST_STREAM/window-manipulation sequences around the time of the reported anomaly, since these are the two documented trigger conditions [1]. Because the confirmed impact is limited to confidentiality (no integrity or availability impact per the CVSS vector) [1], prioritize determining what categories of response data may have been exposed and to whom, rather than assuming data or service integrity was affected. Rotate any credentials or secrets that may have been present in a leaked response body if such content cannot be ruled out. Proceed to eradication by upgrading to the fixed version identified above, then monitor for recurrence. Follow applicable organizational and regulatory notification obligations if confirmed leaked data includes personal or regulated information; the reviewed sources do not specify any regulatory determination for this CVE.
Security hardening and prevention
- Patch management: maintain a process to track Node.js security releases referenced via the OpenJS security advisories page, as used in this record, and apply fixed versions promptly [1]. (Defense-in-depth / general practice.)
- Attack-surface reduction: disable the
http2module or protocol negotiation on services that do not require it, reducing exposure to this and future HTTP/2-specific defects. (Defense-in-depth.) - Network segmentation: limit which network zones can reach HTTP/2-enabled services directly, reducing the population of potential remote peers able to attempt the documented trigger sequence [1]. (Defense-in-depth.)
- Logging and monitoring: ensure HTTP/2 server logs capture stream resets and timeout events so that anomalous patterns consistent with the documented trigger mechanism can be reviewed after the fact [1]. (Defense-in-depth, since no specific log field is prescribed by the sources.)
- Regression testing: after upgrading, include HTTP/2 stream-teardown and timeout scenarios in test suites to catch any functional regressions introduced by the fix. (Defense-in-depth / general practice.)
Risk assessment
Technical severity is HIGH per the only CVSS score provided (7.5, CVSS 3.0, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) [1], reflecting a network-reachable, low-complexity, unauthenticated confidentiality leak. Exposure and asset criticality depend on organization-specific factors not covered by the sources: the number of internet-facing or multi-tenant Node.js HTTP/2 services, and the sensitivity of data in their response bodies. Exploit prerequisites are moderate in that no authentication or user interaction is needed, but the confidentiality leak depends on timing and memory-layout conditions (freed buffer reuse) that are not quantified in the record, so practical exploitation reliability is unknown. No evidence of exploitation in the wild exists in the reviewed sources, and the CVE is not in the CISA KEV catalog as of 2026-11-12 [2], though this does not rule out undetected exploitation. Existing controls such as network segmentation or disabling HTTP/2 would reduce but not eliminate risk, as the application-triggered path (idle timeout) does not require a remote peer to manipulate flow-control windows [1]. Recommended remediation priority: high, for any organization running affected Node.js versions with HTTP/2 enabled on network-reachable services, given the unauthenticated network vector and confidentiality impact combined with a straightforward vendor-supplied fix. This prioritization is an analyst assessment based on the CVSS vector and documented trigger conditions, not a separate organizational risk score, and assumes typical production exposure; organizations with HTTP/2 disabled or fully isolated should treat priority accordingly lower pending their own exposure review.
Conclusion
CVE-2026-123866 is a use-after-free in Node.js's HTTP/2 stream teardown logic that can cause a server to transmit freed or unrelated connection's response memory to a peer, violating confidentiality without affecting integrity or availability [1]. Teams running Node.js 22.x below 22.23.5, 24.x below 24.22.3, or 26.x below 26.13.1 with HTTP/2 enabled should treat this as a high-priority patching item, particularly where per-stream idle timeouts are configured or where 24.22.0/26.9.0-or-later builds expose the remote-peer-only trigger path [1]. The most urgent immediate action is restricting network exposure of affected HTTP/2 services while scheduling the upgrade; the permanent fix is upgrading to the vendor-published fixed version followed by a restart [1]. Closing this issue with confidence requires confirming the post-upgrade version on every affected host and, where leakage is suspected, determining exactly what response data categories could have been exposed — information the reviewed sources do not provide and that must come from each organization's own application and log review.
Remediation checklist
- Inventory all Node.js hosts/containers and record exact versions via `node -v`; flag any below 22.23.5, 24.22.3, or 26.13.1 for the respective release line [1].
- Upgrade affected Node.js installations to 22.23.5, 24.22.3, or 26.13.1 as applicable, following the OpenJS security advisories page and the Node.js November 2026 security-release notes, then restart the Node.js process [1].
- Before upgrading, restrict network access to HTTP/2 listeners on affected hosts to trusted sources only, as an interim compensating control given the unauthenticated network attack vector (AV:N) [1].
- Review and, where appropriate, temporarily adjust per-stream idle timeout configurations on HTTP/2 servers, since this is one of the documented teardown triggers [1].
- For 24.x/26.x hosts, check specifically whether the version is at or above 24.22.0/26.9.0 (and below the fix), indicating exposure to the remote-peer-only trigger path [1].
- After patching, verify the running version via `node -v` and re-run authenticated vulnerability scanning to confirm the version no longer falls in the affected range [1].
- Document validation evidence (version output, scan results, change record) with owner and date; remove any temporary network/timeout mitigations once the patch is confirmed, or record them as retained exceptions.
Evidence gaps
- Exploitation status in the wild is not confirmed either way; the CVE is absent from the CISA KEV catalog as of 2026-11-12, but this does not establish non-exploitation — a future KEV addition or vendor/researcher report would settle this [2].
- The exact internal code path, function, or commit responsible for the use-after-free is not disclosed; only the general mechanism (freed response buffer still referenced during backpressured write teardown) is described — a vendor patch diff or advisory technical appendix would settle this [1].
- Whether the 22.x line (<22.23.5) is exposed to a remote-peer-only trigger analogous to the window-size behavior in 24.x/26.x is not stated; the record only ties that specific remote trigger to 24.22.0+/26.9.0+ — clarification from the vendor advisory text itself (not just the NVD summary) would settle this [1].
- No indicators of compromise, exploit code, or detection signatures are provided by either source, so defenders cannot currently build detection rules specific to this vulnerability beyond version checks; future threat intelligence reporting would be needed to fill this gap.
- Whether a restart/reload alone suffices post-upgrade or whether any additional configuration migration is needed is not explicitly stated in the reviewed sources; the full vendor advisory and blog post (referenced but not quoted in detail in the record) would confirm this [1].
References
- CVE-2026-123866 record. NIST National Vulnerability Database (NVD), 2026-11-11. https://nvd.nist.gov/vuln/detail/CVE-2026-123866. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
Summary
A use-after-free in Node.js HTTP/2 stream teardown can leak response memory, including the contents of other connections' response buffers, to a peer. When a stream is torn down while a write is still backpressured, for example by a peer RST_STREAM or by the server's own per-stream timeout destroying the stream, the stream's response buffer is freed but a reference to it is still used, so freed or unrelated heap memory is written to the socket instead of the intended response. On Node.js 26.x and 24.x the teardown can be driven purely by a remote peer once the window-size change from 26.9.0 and 24.22.0 is present, and on all supported lines the same defect is reachable through an application-initiated teardown such as a per-stream idle timeout. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-416: Use After Free
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | ≥ 0.0.0, < 22.23.5 | 22.23.5 |
| ≥ 23.0.0, < 24.22.3 | 24.22.3 | |
| ≥ 25.0.0, < 26.13.1 | 26.13.1 |
References by type
Other references
Affected
- nodejs node
Frequently asked questions
What is CVE-2026-123866?
A use-after-free flaw in Node.js's HTTP/2 implementation, tracked as CVE-2026-123866, can cause memory from unrelated connections' response buffers to be written to a peer's socket instead of the intended response. Weakness type: Use After Free (CWE-416).
How severe is CVE-2026-123866?
CVE-2026-123866 has a CVSS 3.1 base score of 7.5 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-123866 being exploited?
Not as far as is known: CVE-2026-123866 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123866?
nodejs node ≥ 0.0.0, < 22.23.5 (fixed in 22.23.5); nodejs node ≥ 23.0.0, < 24.22.3 (fixed in 24.22.3); nodejs node ≥ 25.0.0, < 26.13.1 (fixed in 26.13.1).
How do I fix CVE-2026-123866?
Inventory all Node.js hosts/containers and record exact versions via node -v; flag any below 22.23.5, 24.22.3, or 26.13.1 for the respective release line. Upgrade affected Node.js installations to 22.23.5, 24.22.3, or 26.13.1 as applicable, following the OpenJS security advisories page and the Node.js November 2026 security-release notes, then restart the Node.js process. Before upgrading, restrict network access to HTTP/2 listeners on affected hosts to trusted sources only, as an interim compensating control given the unauthenticated network attack vector (AV:N).
Timeline & sources
References
Related vulnerabilities & news
- Kestra Before 1.3.36 Contains Reflected XSS Vulnerability
- Joomla Extension Vulnerability Allows Stored XSS via Link Validation
- Joomla Extension Vulnerability Allows Stored XSS via Thumbnail Widget
- Joomla Extension Vulnerability Allows Stored XSS in Smart Slider 3
- JTL-Shop Cross-site Scripting Vulnerability in Country Manager Page