CVE-2024-11042invoke-ai/invokeai
Critical 9.1 No auth needed
Follow: this CVE · invoke-ai · invoke-ai/invokeai We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-73
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for invoke-ai/invokeai.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | invokeai |
< 5.3.0rc1 |
5.3.0rc1 |
pip install "invokeai>=5.3.0rc1" |
| PyPI | invokeai |
< 5.3.0rc1 |
5.3.0rc1 |
pip install "invokeai>=5.3.0rc1" |
Per OSV / GitHub Advisories (GHSA-227r-w5j2-6243, PYSEC-2026-358). Check the version in your lockfile before upgrading.
Affected products
- invoke-ai · invoke-ai/invokeai
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.