CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ⬡ Vulnerabilities & CVEs Apr 21, 2026

CVE-2026-40608 | DayuanJiang next-ai-draw-io up to 0.4.14 POST allocation of resources (GHSA-9q7h-wgfw-p378 / EUVD-2026-24217)

VulDB Archived Apr 21, 2026 ✓ Full text saved

A vulnerability marked as problematic has been reported in DayuanJiang next-ai-draw-io up to 0.4.14 . The affected element is an unknown function of the component POST Handler . Performing a manipulation results in allocation of resources. This vulnerability is identified as CVE-2026-40608 . The attack is only possible with local access. There is not any exploit available. It is suggested to upgrade the affected component.

Full text archived locally
✦ AI Summary · Claude Sonnet


    VDB-358552 · CVE-2026-40608 · GHSA-9Q7H-WGFW-P378 DAYUANJIANG NEXT-AI-DRAW-IO UP TO 0.4.14 POST ALLOCATION OF RESOURCES HISTORYDIFFRELATEJSONXMLCTI CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score 4.7 $0-$5k 1.16+ Summaryinfo A vulnerability described as problematic has been identified in DayuanJiang next-ai-draw-io up to 0.4.14. The impacted element is an unknown function of the component POST Handler. Executing a manipulation can lead to allocation of resources. This vulnerability is tracked as CVE-2026-40608. The attack is restricted to local execution. No exploit exists. Upgrading the affected component is recommended. Detailsinfo A vulnerability classified as problematic was found in DayuanJiang next-ai-draw-io up to 0.4.14. This vulnerability affects an unknown code block of the component POST Handler. The manipulation with an unknown input leads to a allocation of resources vulnerability. The CWE definition for the vulnerability is CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. As an impact it is known to affect availability. CVE summarizes: Next AI Draw.io is a next.js web application that integrates AI capabilities with draw.io diagrams. Prior to 0.4.15, the embedded HTTP sidecar contains three POST handlers (/api/state, /api/restore, and /api/history-svg) that process incoming requests by accumulating the entire request body into a JavaScript string without any size limitations. Node.js buffers the entire payload in the V8 heap. Sending a sufficiently large body (e.g., 500 MiB or more) will exhaust the process heap memory, leading to an Out-of-Memory (OOM) error that crashes the MCP server. This vulnerability is fixed in 0.4.15. The advisory is shared for download at github.com. This vulnerability was named CVE-2026-40608 since 04/14/2026. The exploitation appears to be easy. The attack needs to be approached locally. There are neither technical details nor an exploit publicly available. Upgrading to version 0.4.15 eliminates this vulnerability. Applying the patch 31819f413cc4b329a1cb81e5fccd0cd98c1fd665 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-24217). Productinfo Type Artificial Intelligence Software Vendor DayuanJiang Name next-ai-draw-io Version 0.4.0 0.4.1 0.4.2 0.4.3 0.4.4 0.4.5 0.4.6 0.4.7 0.4.8 0.4.9 0.4.10 0.4.11 0.4.12 0.4.13 0.4.14 License open-source Website Product: https://github.com/DayuanJiang/next-ai-draw-io/ CPE 2.3info 🔒 🔒 🔒 CPE 2.2info 🔒 🔒 🔒 CVSSv4info VulDB Vector: 🔒 VulDB Reliability: 🔍 CVSSv3info VulDB Meta Base Score: 4.7 VulDB Meta Temp Score: 4.7 VulDB Base Score: 3.3 VulDB Temp Score: 3.2 VulDB Vector: 🔒 VulDB Reliability: 🔍 CNA Base Score: 6.2 CNA Vector (GitHub_M): 🔒 CVSSv2info Vector Complexity Authentication Confidentiality Integrity Availability Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock VulDB Base Score: 🔒 VulDB Temp Score: 🔒 VulDB Reliability: 🔍 Exploitinginfo Class: Allocation of resources CWE: CWE-770 / CWE-400 / CWE-404 CAPEC: 🔒 ATT&CK: 🔒 Physical: Partially Local: Yes Remote: No Availability: 🔒 Status: Not defined Price Prediction: 🔍 Current Price Estimation: 🔒 0-Day Unlock Unlock Unlock Unlock Today Unlock Unlock Unlock Unlock Threat Intelligenceinfo Interest: 🔍 Active Actors: 🔍 Active APT Groups: 🔍 Countermeasuresinfo Recommended: Upgrade Status: 🔍 0-Day Time: 🔒 Upgrade: next-ai-draw-io 0.4.15 Patch: 31819f413cc4b329a1cb81e5fccd0cd98c1fd665 Timelineinfo 04/14/2026 CVE reserved 04/21/2026 +7 days Advisory disclosed 04/21/2026 +0 days VulDB entry created 04/21/2026 +0 days VulDB entry last update Sourcesinfo Product: github.com Advisory: GHSA-9q7h-wgfw-p378 Status: Confirmed CVE: CVE-2026-40608 (🔒) GCVE (CVE): GCVE-0-2026-40608 GCVE (VulDB): GCVE-100-358552 EUVD: 🔒 Entryinfo Created: 04/21/2026 20:56 Updated: 04/21/2026 21:28 Changes: 04/21/2026 20:56 (67), 04/21/2026 21:28 (1) Complete: 🔍 Cache ID: 99:397:101 Discussion No comments yet. Languages: en. Please log in to comment. ◂ PreviousOverviewNext ▸
    💬 Team Notes
    Article Info
    Source
    VulDB
    Category
    ⬡ Vulnerabilities & CVEs
    Published
    Apr 21, 2026
    Archived
    Apr 21, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗