CVE-2024-11042
Arbitrary File Delete in invoke-ai/invokeai
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.1
Arbitrary File Delete in invoke-ai/invokeai
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.
- Record
CVE-2024-11042- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-73
- Updated
- 2026-11-02
EUVDEUVD-2025-7073
9.1
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.
- Record
EUVD-2025-7073- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-227r-w5j2-6243
9.1
InvokeAI Arbitrary File Deletion vulnerability
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.
- Record
GHSA-227r-w5j2-6243- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-20, CWE-22, CWE-73
- Updated
- 2026-11-02
NVD
9.1
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.
- Record
CVE-2024-11042- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-73
- Updated
- 2026-11-02
OSV
9.1
Arbitrary File Delete in invoke-ai/invokeai
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.
- Record
CVE-2024-11042- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-73
- Updated
- 2026-11-02
OSVGHSA-227r-w5j2-6243
9.1
InvokeAI Arbitrary File Deletion vulnerability
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.
- Record
GHSA-227r-w5j2-6243- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-20, CWE-22, CWE-73
- Updated
- 2026-11-02
OSVPYSEC-2026-358
9.1
InvokeAI Arbitrary File Deletion vulnerability
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.
- Record
PYSEC-2026-358- CVSS 3.0
- 9.1 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
invokeaiPyPI |
before 5.3.0rc1 | 5.3.0rc1 |
invokeaiPyPI |
before 5.3.0rc1, plus listed versions 2.2.4.52.2.4.62.2.4.72.2.52.3.0 Show 45 moreShow less2.3.0a02.3.0a12.3.0a22.3.0a32.3.0rc32.3.0rc42.3.0rc52.3.0rc62.3.0rc72.3.12.3.1.post12.3.1.post22.3.1rc42.3.22.3.2.post12.3.32.3.3rc12.3.42.3.4.post12.3.4a02.3.4rc12.3.52.3.5.post12.3.5.post22.3.5rc13.0.03.0.13.0.1.post13.0.1.post23.0.1.post33.0.1rc13.0.1rc23.0.23.0.2.post13.0.2a13.0.2rc13.1.03.1.13.1.1rc13.2.03.3.03.3.0.post13.3.0.post23.3.0.post33.4.0 |
5.3.0rc1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | gothburz/CVE-2024-11042 | 2025-03-21 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-11042 is a critical vulnerability (CVSS 9.1) in Invoke-ai Invoke-ai/invokeai, published March 20, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.56%, the 75th percentile. Fixed in invokeai 5.3.0rc1.
References
huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987
github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a
nvd.nist.gov/vuln/detail/CVE-2024-11042
github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-358.yaml
pypi.org/project/invokeai
github.com/advisories/GHSA-227r-w5j2-6243
github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11042.json
github.com/invoke-ai/InvokeAI
Left out here: 95 versions. The JSON record has them.