Skip to content
MediumVulnerability

CVE-2026-40608: Next AI Draw.io denial of service through unbounded POST request bodies

Identifier
CVE-2026-40608
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

Next AI Draw.io, a Next.js web application that integrates AI capabilities with draw.io diagrams, prior to 0.4.15, has three POST handlers in its embedded HTTP sidecar (/api/state, /api/restore, /api/history-svg) that accumulate the entire request body into a JavaScript string with no size limit. Node.js buffers the whole payload in the V8 heap, so a sufficiently large body (e.g., 500 MiB or more) exhausts process heap memory, causing an Out-of-Memory error that crashes the MCP server.

Mitigation

Fixed in 0.4.15.