Skip to main content

Next AI Draw.io CVE-2026-40608

| EUVDEUVD-2026-24217 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-21 security-advisories@github.com
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Local access to sidecar network
  2. Delivery
    Craft oversized POST payload
  3. Exploit
    Send to /api/state endpoint
  4. Install
    Sidecar buffers entire payload
  5. C2
    Heap memory exhausted
  6. Execute
    Process crashes
  7. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local network access to the HTTP sidecar is required. The three vulnerable POST endpoints (/api/state, /api/restore, /api/history-svg) must be exposed and reachable from the attacker's network position. No authentication is required and no user interaction is needed to trigger the crash. The vulnerability is exploitable against default deployments where the sidecar is not behind authentication or request filtering. If the sidecar is bound only to localhost (127.0.0.1) and the attacker lacks local system access, exploitation is prevented. Similarly, if a reverse proxy or firewall enforces strict request body size limits before reaching the sidecar, the vulnerability cannot be triggered.

Impact

This vulnerability presents moderate real-world risk with important nuances. CVSS score of 6.2 is driven by local attack vector (AV:L) and high availability impact (A:H), but reflects significantly lower risk than network-exploitable DoS vulnerabilities. The CVSS vector (AV:L/AC:L/PR:N/UI:N/S:U) indicates local-only access is required-an attacker must execute code or send requests from the same system, which substantially limits exploitability in typical deployments. However, the availability impact is severe and straightforward: any actor with local network or system access can predictably crash the sidecar by sending a large payload. No EPSS score, KEV listing, or public exploit code is documented, suggesting this is not yet leveraged in widespread attacks. Organizations running Next AI Draw.io should prioritize patching in multi-tenant or shared-hosting environments where local attackers have network access to the sidecar endpoint, but standalone or air-gapped deployments face lower practical risk.

Exploit ScenarioDerived

An attacker with local network access to a Next AI Draw.io sidecar instance crafts an HTTP POST request with a 500+ MiB body and sends it to /api/state, /api/restore, or /api/history-svg. The sidecar buffers the entire payload into heap memory without size validation, rapidly exhausting available memory and crashing the process within seconds. The attacker achieves denial of service without authentication or user interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Denial of service in Next AI Draw.io prior to version 0.4.15 allows local attackers to crash the embedded HTTP sidecar by sending oversized request bodies to three POST endpoints (/api/state, /api/restore, /api/history-svg) without size limits, exhausting Node.js V8 heap memory and forcing an out-of-memory shutdown. CVSS 6.2 reflects local attack vector and high availability impact; no public exploit code confirmed at time of analysis.

RemediationAI

Upgrade Next AI Draw.io to version 0.4.15 or later, which implements request body size limits on the three vulnerable POST handlers (/api/state, /api/restore, /api/history-svg). The fix is available at GitHub commit 31819f413cc4b329a1cb81e5fccd0cd98c1fd665 and has been released in tagged version 0.4.15. For organizations unable to patch immediately, implement network-level controls to restrict POST request payload sizes to the sidecar endpoints (e.g., reverse proxy maximum body size limits of 10-50 MiB depending on legitimate use cases) and restrict network access to the sidecar to trusted local clients only. These compensating controls add latency and administrative overhead but effectively prevent exploitation until patching is completed.

Affected VersionsENISA

next-ai-draw-io < 0.4.15

Affected Packages

euvd next_ai_draw_io fix: 0.4.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Next AI Draw.io is a Node.js web application that combines AI functionality with draw.io diagram editing. The vulnerability stems from CWE-770 (Allocation of Resources Without Limits or Throttling), where the embedded HTTP sidecar lacks request body size validation. When requests arrive at the three POST handlers, Node.js automatically buffers the entire payload into the V8 JavaScript heap without enforcing maximum payload size limits. This design choice allows attackers to submit payloads of 500 MiB or larger, exhausting available heap memory and triggering an out-of-memory condition that terminates the sidecar process.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 26, 2026 - 22:25 NVD
6.2 (MEDIUM) 5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 19:41 nvd
Patch available
Patch available
Apr 21, 2026 - 19:01 EUVD
CVE Published
Apr 21, 2026 - 18:16 nvd
MEDIUM 6.2

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy