InvokeAIGHSA-227r-w5j2-6243
InvokeAI Arbitrary File Deletion vulnerability
Critical9.1CVE-2024-11042 · Published Mar 20, 2025 · updated Jun 29, 2026
In invoke-ai/invokeai version v5.0.2, the web API `POST /api/v1/images/delete` is vulnerable to Arbitrary File Deletion. This vulnerability allows unauthorized attackers to delete arbitrary files on the server, potentially including critical or sensitive system files such as SSH keys, SQLite databases, and configuration files. This can impact the integrity and availability of applications relying on these files.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| invokeai PyPI | < 5.3.0rc1 | 5.3.0rc1 |
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 Uncontrolled Resource Consumption vulnerability | High7.5 | No fix yet |
| Mar 202025 | InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload` | High7.5 | No fix yet |