Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-96294 Overview
CVE-2026-96294 is an uncaught exception vulnerability in the Apache Thrift NodeJS bindings. The flaw is categorized as improper handling of exceptional conditions [CWE-248]. It affects all Apache Thrift versions prior to 0.25.0. A remote attacker can send crafted input over the network to trigger an unhandled exception in the NodeJS runtime, terminating the service and causing a denial of service. The issue requires no authentication and no user interaction. Apache has released version 0.25.0 to address the vulnerability.
Critical Impact
Remote, unauthenticated attackers can crash Apache Thrift NodeJS services by triggering an uncaught exception, resulting in denial of service to availability-dependent workloads.
Affected Products
- Apache Thrift NodeJS bindings, all versions before 0.25.0
- NodeJS applications and services that embed Apache Thrift for RPC
- Microservices and APIs exposing Thrift endpoints over the network
Discovery Timeline
- 2026-10-02 - CVE-2026-96294 published to the National Vulnerability Database (NVD)
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-96294
Vulnerability Analysis
The vulnerability resides in the Apache Thrift NodeJS bindings, which implement the Thrift RPC protocol for JavaScript server runtimes. The bindings fail to catch an exception raised during request processing. In NodeJS, an uncaught exception propagates to the event loop and terminates the process unless an explicit uncaughtException handler is registered. An attacker who can reach a Thrift endpoint can send a malformed or unexpected message that drives the handler into an error path the library does not guard. The process exits, breaking active RPC sessions and halting service for all clients.
Root Cause
The root cause is improper handling of exceptional conditions in the NodeJS Thrift transport or protocol layer. Specific error branches are not wrapped in try/catch blocks or routed to a safe error callback. The library surfaces runtime exceptions directly to the event loop instead of translating them into protocol-level errors returned to the client.
Attack Vector
The attack vector is remote and network-based. An attacker establishes a TCP or HTTP connection to a Thrift listener and transmits a crafted payload designed to exercise the unhandled error path. Because the vulnerability requires no credentials and no user interaction, any exposed Thrift service is reachable. Repeated requests can keep the process in a crash loop, denying service to legitimate clients until the deployment is patched or shielded. Technical specifics are tracked in the upstream references listed below.
See the Apache Security Discussion Thread and Apache Mailing List Update for upstream details.
Detection Methods for CVE-2026-96294
Indicators of Compromise
- Unexpected NodeJS process termination with uncaughtException entries in service logs
- Repeated connections to Thrift ports followed immediately by TCP resets or connection closures
- Service restart loops managed by systemd, pm2, or container orchestration platforms
- Spikes in 5xx responses or RPC timeouts from clients consuming the Thrift endpoint
Detection Strategies
- Inventory NodeJS services and identify those pulling the thrift npm package at versions below 0.25.0
- Correlate process crash events with inbound network traffic to Thrift listener ports in SIEM pipelines
- Monitor application performance management (APM) tooling for sudden drops in request throughput coupled with handler errors
- Alert on repeated connection attempts from a single source immediately preceding a process restart
Monitoring Recommendations
- Enable verbose logging on the Thrift server to capture malformed message events and stack traces
- Forward NodeJS stdout, stderr, and container exit codes to a centralized log platform for correlation
- Track process uptime metrics per service instance and alert on short, repeated lifecycles
- Baseline inbound RPC traffic patterns to flag anomalies consistent with crash-oriented probing
How to Mitigate CVE-2026-96294
Immediate Actions Required
- Upgrade the thrift npm package to version 0.25.0 or later across all NodeJS services
- Audit production dependency trees for transitive inclusion of vulnerable Thrift versions
- Restrict network exposure of Thrift listeners to trusted internal networks until patching is complete
- Enforce rate limiting and connection throttling in front of Thrift endpoints to blunt crash-loop attempts
Patch Information
Apache Thrift version 0.25.0 fixes CVE-2026-96294 by correcting the exception handling path in the NodeJS bindings. Users are recommended to upgrade immediately. Refer to the Apache Security Discussion Thread and the Apache Mailing List Update for the vendor announcement.
Workarounds
- Place Thrift endpoints behind an authenticated reverse proxy or service mesh that validates payload structure
- Register a NodeJS process.on('uncaughtException', handler) to prevent abrupt termination while patching is scheduled
- Deploy process supervisors such as pm2 or Kubernetes livenessProbe to automatically restart crashed instances
- Apply network segmentation and firewall rules that limit Thrift port access to known client subnets
# Configuration example
npm install thrift@0.25.0 --save
npm ls thrift
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

