Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-11042Arbitrary File Delete in invoke-ai/invokeai
Critical 9.1
In plain English
A critical-severity security flaw in invoke-ai/invokeai from invoke-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | invokeai | 5.3.0rc1 | GHSA-227r-w5j2-6243 |
| PyPI | invokeai | 5.3.0rc1 | PYSEC-2026-358 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| invoke-ai | invoke-ai/invokeai | unspecified – before 5.3.0 |
Weakness: CWE-73 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H