CVE-2024-11042: InvokeAI Arbitrary File Deletion vulnerability
Affects InvokeAISource GCVE Database
Not known to be exploited · CVSS 9.1 Critical : upgrade to 5.3.0rc1 as a priority.
Data as of 27 Oct 2026, 18:30 UTC
- Patch
- Available – fixed in 5.3.0rc1
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade InvokeAI to 5.3.0rc1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIInvokeAI | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade InvokeAI to version 5.3.0rc1 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
InvokeAI version prior to 5.3.0rc1 contains an arbitrary file deletion vulnerability in its web API endpoint POST /api/v1/images/delete. This flaw allows unauthorized attackers to delete arbitrary files on the server, including critical system files such as SSH keys, SQLite databases, and configuration files, impacting application integrity and availability. A patch is available in version 5.3.0rc1.
References
- nvd.nist.gov/vuln/detail/CVE-2024-11042 (opens in a new tab)
- github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a (opens in a new tab)
- github.com/invoke-ai/InvokeAI (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-358.yaml (opens in a new tab)
- huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987 (opens in a new tab)
- pypi.org/project/invokeai (opens in a new tab)