Security Vulnerability Report
中文
CVE-2026-41636 CVSS 7.5 HIGH

CVE-2026-41636

Published: 2026-04-28 10:16:04
Last Modified: 2026-04-28 18:38:39

Description

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.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:* - VULNERABLE
Apache Thrift < 0.23.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for CVE-2026-41636: Uncontrolled Recursion in Apache Thrift Node.js // This script demonstrates how a deeply nested payload could trigger the issue. const thrift = require('thrift'); // Create a deeply nested object to simulate the malicious input function createDeepNestedObject(depth) { if (depth === 0) return {}; return { next: createDeepNestedObject(depth - 1) }; } try { // Attempting to process a structure with excessive recursion depth // This would trigger the stack overflow in vulnerable versions < 0.23.0 const maliciousPayload = createDeepNestedObject(50000); // Hypothetical serialization/deserialization function // In a real scenario, this would be passed to a Thrift processor console.log("Sending payload..."); } catch (e) { console.error("PoC execution failed (expected in patched environments):", e.message); }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41636", "sourceIdentifier": "[email protected]", "published": "2026-04-28T10:16:03.687", "lastModified": "2026-04-28T18:38:39.447", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "LOW", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-674"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:thrift:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "0.23.0", "matchCriteriaId": "B6D5A1D2-DE9F-4EBC-97FB-90B477C6CD00"}]}]}], "references": [{"url": "https://lists.apache.org/thread/lb4j0zyd5f3g36cos0wql925przpnwql", "source": "[email protected]", "tags": ["Mailing List", "Patch", "Release Notes"]}, {"url": "http://www.openwall.com/lists/oss-security/2026/04/28/1", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}]}}