Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-40608

6.2 · MEDIUM
Published Apr 21, 2026 dayuanjiang CWE-770

Overview

CVE-2026-40608 is a medium-severity vulnerability affecting dayuanjiang next_ai_draw.io. It was published on April 21, 2026 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from dayuanjiang. Update next_ai_draw.io to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
dayuanjiang next_ai_draw.io >= 0, < 0.4.15 Affected

Frequently Asked Questions

What is CVE-2026-40608?

CVE-2026-40608 is a medium-severity vulnerability affecting dayuanjiang next_ai_draw.io. It was published on April 21, 2026 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

How severe is CVE-2026-40608?

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-40608?

Check the references section for vendor advisories and patches from dayuanjiang. Update next_ai_draw.io to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-40608?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-40608 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026