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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/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.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-03-20T10:09:17.805Z
- Modified: 2026-07-07T17:56:16.047Z
- Also known as: GHSA-6f6x-f56q-5xgv, PYSEC-2026-1466
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- invoke-ai invoke-ai/invokeai: from unspecified up to latest
- invokeai (PyPI): up to 5.0.2

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/0ac24835-c4c0-4f11-938a-d5641dfb80b2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10821> (advisory)
- <https://github.com/invoke-ai/InvokeAI> (web)
- <https://github.com/invoke-ai/InvokeAI/blob/807f458f13e7693ada2fb929c2d513950611fe9c/invokeai/app/api/routers/images.py#L29> (web)
- <https://pypi.org/project/invokeai> (package)
- <https://github.com/advisories/GHSA-6f6x-f56q-5xgv> (advisory)

## Sources

- CVE List: [CVE-2024-10821](https://www.cve.org/CVERecord?id=CVE-2024-10821), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-6f6x-f56q-5xgv](https://github.com/advisories/GHSA-6f6x-f56q-5xgv), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-10821](https://nvd.nist.gov/vuln/detail/CVE-2024-10821), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1466](https://osv.dev/vulnerability/PYSEC-2026-1466), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-10821 · Whole record: https://cve.day/CVE-2024-10821.json · Rebuilt by cve.day 2026-11-25T22:58:52.337Z
