The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41636

CVE-2026-41636: Apache Thrift Recursion Vulnerability

CVE-2026-41636 is an uncontrolled recursion flaw in Apache Thrift Node.js bindings that can cause denial of service. This post covers the technical details, affected versions before 0.23.0, and mitigation strategies.

Published: April 30, 2026

CVE-2026-41636 Overview

An Uncontrolled Recursion vulnerability has been identified in Apache Thrift Node.js bindings. This security flaw allows attackers to trigger excessive recursive function calls, potentially leading to stack exhaustion and denial of service conditions. The vulnerability affects all versions of Apache Thrift prior to 0.23.0.

Apache Thrift is a widely-used cross-language services development framework that enables efficient communication between different programming languages. The Node.js bindings are particularly popular in modern microservices architectures, making this vulnerability relevant to many enterprise environments.

Critical Impact

Remote attackers can exploit this uncontrolled recursion to cause denial of service through stack exhaustion, potentially disrupting critical services relying on Apache Thrift Node.js bindings.

Affected Products

  • Apache Thrift versions before 0.23.0
  • Apache Thrift Node.js bindings (cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*)
  • Applications and services using vulnerable Apache Thrift Node.js libraries

Discovery Timeline

  • 2026-04-28 - CVE-2026-41636 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-41636

Vulnerability Analysis

This vulnerability is classified as CWE-674 (Uncontrolled Recursion), which occurs when a function calls itself repeatedly without proper termination conditions or depth limits. In the context of Apache Thrift Node.js bindings, specially crafted input data can trigger recursive parsing or processing operations that consume stack memory until exhaustion occurs.

The network-based attack vector means that remote attackers can send malicious payloads to any service using vulnerable Thrift Node.js bindings without requiring authentication or user interaction. This makes it particularly dangerous in internet-facing services or internal microservices architectures.

The primary impact is availability loss through denial of service. When the recursion exceeds the stack limit, the Node.js process will crash, terminating all active connections and service operations. In environments without proper process supervision, this could result in extended downtime.

Root Cause

The root cause lies in insufficient recursion depth validation within the Apache Thrift Node.js bindings. When processing nested data structures or certain message formats, the parsing logic recursively processes elements without enforcing maximum depth limits. An attacker can construct deeply nested structures that exceed the stack capacity of the Node.js runtime.

This type of vulnerability commonly occurs in serialization/deserialization libraries where hierarchical data formats are processed recursively without considering adversarial input that maximizes nesting depth.

Attack Vector

The attack is network-based and can be exploited remotely. An attacker crafts a Thrift message containing deeply nested structures or recursive references designed to exhaust the call stack. When a vulnerable Thrift service receives and attempts to deserialize this payload, the recursive parsing function is invoked repeatedly until the stack is exhausted, causing the process to crash.

The attack does not require authentication or any special privileges, and no user interaction is needed. This makes it a straightforward denial of service attack against any exposed Thrift Node.js service.

The vulnerability mechanism involves recursive descent parsing of nested Thrift structures. When a malicious payload with excessive nesting depth is received, the parser recurses into each nested level without checking depth limits, eventually causing stack overflow and process termination. For technical details, see the Apache Mailing List Thread.

Detection Methods for CVE-2026-41636

Indicators of Compromise

  • Unexpected Node.js process crashes with stack overflow errors in Thrift-based services
  • Error logs showing "Maximum call stack size exceeded" exceptions in Thrift parsing code
  • Unusual network traffic containing abnormally large or deeply nested Thrift messages
  • Service restart patterns correlating with incoming network requests

Detection Strategies

  • Monitor application logs for stack overflow exceptions and unexpected process terminations in services using Apache Thrift
  • Implement network-level inspection for abnormally sized Thrift payloads or messages with excessive nesting indicators
  • Deploy application performance monitoring to detect recursive function depth anomalies before crash conditions
  • Use SentinelOne Singularity to detect process crash patterns and anomalous behavior in Node.js services

Monitoring Recommendations

  • Configure alerting for Node.js process crashes and automatic restarts in Thrift service environments
  • Establish baseline metrics for Thrift message sizes and complexity to identify outliers
  • Monitor memory and stack usage in Node.js processes running Thrift bindings
  • Implement health checks that can detect service degradation before complete denial of service occurs

How to Mitigate CVE-2026-41636

Immediate Actions Required

  • Upgrade Apache Thrift to version 0.23.0 or later immediately
  • Audit all applications and services for use of Apache Thrift Node.js bindings
  • Implement process supervision to automatically restart crashed services while patching is in progress
  • Consider temporarily isolating vulnerable Thrift services behind additional network controls

Patch Information

Apache has released version 0.23.0 which addresses this uncontrolled recursion vulnerability. Users are strongly recommended to upgrade to this version or later. The fix implements proper recursion depth limits to prevent stack exhaustion attacks.

For additional information, refer to the Apache Mailing List Thread and the Openwall OSS-Security Update.

Workarounds

  • Implement network-level rate limiting and payload size restrictions on Thrift service endpoints
  • Deploy a reverse proxy or API gateway that can inspect and reject abnormally nested payloads
  • Use process managers like PM2 or systemd with automatic restart policies to minimize downtime during attacks
  • Implement application-level message validation before passing data to Thrift deserializers
bash
# Configuration example - Update Apache Thrift in Node.js projects
npm update thrift@0.23.0
# Or specify in package.json
# "thrift": ">=0.23.0"

# Verify installed version
npm list thrift

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechApache Thrift

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • Openwall OSS-Security Update
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2026-41603: Apache Thrift Certificate Vulnerability

  • CVE-2026-41602: Apache Thrift Integer Overflow Vulnerability

  • CVE-2026-41604: Apache Thrift Out-of-Bounds Vulnerability

  • CVE-2026-41605: Apache Thrift Integer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English