CVE-2026-40608: CWE-770: Allocation of Resources Without Limits or Throttling in DayuanJiang next-ai-draw-io
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.
AI Analysis
Technical Summary
Next AI Draw.io, a next.js web app integrating AI with draw.io diagrams, had a resource exhaustion vulnerability (CWE-770) in its embedded HTTP sidecar prior to version 0.4.15. The POST endpoints /api/state, /api/restore, and /api/history-svg process incoming requests by accumulating the entire request body into JavaScript strings without any size limitation. This causes Node.js to buffer the entire payload in the V8 heap, which can be exhausted by sending sufficiently large payloads (around 500 MiB or more), resulting in an Out-of-Memory crash of the MCP server. The vulnerability is addressed in version 0.4.15.
Potential Impact
Exploitation of this vulnerability leads to denial of service by crashing the server process due to heap memory exhaustion. There is no impact on confidentiality or integrity, only availability is affected. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade next-ai-draw-io to version 0.4.15 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No other mitigations are specified or required.
CVE-2026-40608: CWE-770: Allocation of Resources Without Limits or Throttling in DayuanJiang next-ai-draw-io
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Next AI Draw.io, a next.js web app integrating AI with draw.io diagrams, had a resource exhaustion vulnerability (CWE-770) in its embedded HTTP sidecar prior to version 0.4.15. The POST endpoints /api/state, /api/restore, and /api/history-svg process incoming requests by accumulating the entire request body into JavaScript strings without any size limitation. This causes Node.js to buffer the entire payload in the V8 heap, which can be exhausted by sending sufficiently large payloads (around 500 MiB or more), resulting in an Out-of-Memory crash of the MCP server. The vulnerability is addressed in version 0.4.15.
Potential Impact
Exploitation of this vulnerability leads to denial of service by crashing the server process due to heap memory exhaustion. There is no impact on confidentiality or integrity, only availability is affected. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade next-ai-draw-io to version 0.4.15 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor's versioning information. No other mitigations are specified or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-14T14:07:59.642Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7bb7219fe3cd2cdedac8d
Added to database: 4/21/2026, 6:01:22 PM
Last enriched: 4/21/2026, 6:16:23 PM
Last updated: 4/21/2026, 7:31:28 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.