CVE-2026-41636: Thrift Apache Thrift Node.js Bindings Vulnerable Vulnerability

HIGH
Advisory Identifier: GHSA-r67j-r569-jrwp
CWE-674
Published
Advisory Summary

CVE-2026-41636 is a HIGH apache thrift node.js bindings vulnerable vulnerability (CWE-674: Uncontrolled Recursion) affecting Thrift libraries in the npm ecosystem. The issue involves apache thrift node.js bindings vulnerable to uncontrolled recursion. Remediation is available by upgrading affected packages to version 0.23.0.

CVE-2026-41636 at a Glance

CVE Identifier CVE-2026-41636
GHSA Identifier GHSA-r67j-r569-jrwp
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-674: Uncontrolled Recursion
Affected Product Thrift
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-41636

To remediate this vulnerability, upgrade all affected Thrift dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

thrift fixed: 0.23.0
npm install thrift@0.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls thrift

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-41636, inspect your project dependencies using npm:

npm ls thrift

Analyze the terminal output to locate any version of Thrift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.0), your application is affected.

Note: The npm ls thrift command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Thrift, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Uncontrolled Recursion vulnerability in Apache Thrift Node.js bindings This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue.

CVE-2026-41636 Affected Thrift Versions

1 component(s)
Fixed Versions:
0.23.0
Product / Package Ecosystem Affected Versions Fixed Version
thrift
npm
< 0.23.0
0.23.0

References

Frequently Asked Questions

What is CVE-2026-41636?
CVE-2026-41636 is a security vulnerability in Thrift involving Apache Thrift Node.js bindings vulnerable to Uncontrolled Recursion under CWE-674: Uncontrolled Recursion.
Which Thrift versions are affected?
Affected versions include releases prior to 0.23.0 across affected packages: thrift.
What version fixes CVE-2026-41636?
Upgrading to 0.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is thrift affected?
Yes, thrift is affected in releases prior to 0.23.0. Upgrade your dependency to 0.23.0 or later.
What CWE is associated with CVE-2026-41636?
CVE-2026-41636 is classified under CWE-674: Uncontrolled Recursion (The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.).
How can I check npm dependencies for CVE-2026-41636?
Run the dependency tree command: 'npm ls thrift'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r67j-r569-jrwp",
  "modified" : "2026-05-06T19:56:53Z",
  "published" : "2026-04-28T12:31:30Z",
  "aliases" : [ "CVE-2026-41636" ],
  "summary" : "Apache Thrift Node.js bindings vulnerable to Uncontrolled Recursion",
  "details" : "Uncontrolled Recursion vulnerability in Apache Thrift Node.js bindings\n\nThis issue affects Apache Thrift: before 0.23.0.\n\nUsers are recommended to upgrade to version 0.23.0, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "thrift"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41636"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/thrift"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/lb4j0zyd5f3g36cos0wql925przpnwql"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/04/28/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-674" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T19:56:53Z",
    "nvd_published_at" : "2026-04-28T10:16:03Z"
  }
}