Arbitrary File Delete in invoke-ai/invokeai
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| invoke-ai | invoke-ai/invokeai | before 5.3.0 | 5.3.0 | Patch available | CNA |
| — | InvokeAI (PyPI) | before 5.3.0rc1 | 5.3.0rc1 | Patch available | GHSA-227r-w5j2-6243 |
- invoke-ai/invokeai Vendorinvoke-ai Affected before 5.3.0 Fixed in 5.3.0 Patch available CNA
- InvokeAI (PyPI) Vendor— Affected before 5.3.0rc1 Fixed in 5.3.0rc1 Patch available GHSA-227r-w5j2-6243
Remediation
- Fix · CNA invoke-ai/invokeai (invoke-ai) Fixed in 5.3.0
- Fix · GHSA-227r-w5j2-6243 InvokeAI (PyPI) Fixed in 5.3.0rc1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-11042
- 2026-10-03 Alias added: GHSA-227r-w5j2-6243
References
Other 5
- https://huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987
- https://github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a
- https://github.com/invoke-ai/InvokeAI
- https://github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-358.yaml
- https://pypi.org/project/invokeai
More invoke-ai vulnerabilities
- TI-2025-05643 Path Traversal and Arbitrary File Deletion in invoke-ai/invokeai CVSS 3.0CRITICAL 9.8
- TI-2024-11160 Remote Code Execution via Model Deserialization in invoke-ai/invokeai CVSS 3.0CRITICAL 9.8
- TI-2024-10231 Denial of Service (DoS) via Large Payload in Board Name Field in invoke-ai/invokeai CVSS 3.0HIGH 7.5
- TI-2024-10032 Denial of Service (DoS) in invoke-ai/invokeai CVSS 3.0HIGH 7.5
- TI-2026-46450 InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder CVSS 4.0MEDIUM 6.3
Sources
- CVE-2024-11042 · CVE Program
- CVE-2024-11042 · NVD
- FIRST EPSS
- GHSA-227r-w5j2-6243 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences