InvokeAIGHSA-6f6x-f56q-5xgv
InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`
High7.5CVE-2024-10821 · Published Mar 20, 2025 · updated Jul 7, 2026
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`.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| invokeai PyPI | <= 5.0.2 | No fix yet |
Details and references
More InvokeAI advisories
All InvokeAI| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 182025 | InvokeAI has External Control of File Name or Path | Critical9.8 | 6.7.0 |
| Mar 212025 | InvokeAI Deserialization of Untrusted Data vulnerability | Critical9.8 | 5.4.3rc2 |
| Mar 202025 | InvokeAI Arbitrary File Deletion vulnerability | Critical9.1 | 5.3.0rc1 |
| Mar 202025 | InvokeAI Uncontrolled Resource Consumption vulnerability | High7.5 | No fix yet |