CVE-2026-41636: Thrift Apache Thrift Node.js Bindings Vulnerable Vulnerability
HIGHCVE-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
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.
npm install thrift@0.23.0
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
CVE-2026-41636 Affected Thrift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
thrift
|
npm |
< 0.23.0
|
0.23.0
|
References
Frequently Asked Questions
What is CVE-2026-41636?
Which Thrift versions are affected?
What version fixes CVE-2026-41636?
Is thrift affected?
What CWE is associated with CVE-2026-41636?
How can I check npm dependencies for CVE-2026-41636?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}