# CVE-2026-40608: Next AI Draw.io: Unbounded HTTP Body — Denial of Service

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T17:56:35.046Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- DayuanJiang next-ai-draw-io: < 0.4.15
- dayuanjiang next_ai_draw.io: before 0.4.15

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/DayuanJiang/next-ai-draw-io/security/advisories/GHSA-9q7h-wgfw-p378> (exploit, mitigation, vendor-advisory)
- <https://github.com/DayuanJiang/next-ai-draw-io/commit/31819f413cc4b329a1cb81e5fccd0cd98c1fd665> (patch)

## Sources

- CVE List: [CVE-2026-40608](https://www.cve.org/CVERecord?id=CVE-2026-40608), CVE Terms of Use, modified 2026-04-21
- NVD: [CVE-2026-40608](https://nvd.nist.gov/vuln/detail/CVE-2026-40608), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40608 · Whole record: https://cve.day/CVE-2026-40608.json · Rebuilt by cve.day 2026-11-25T22:59:19.128Z
