---
title: "CVE-2024-11042: InvokeAI Arbitrary File Deletion vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-11042/
description: "CVE-2024-11042 (InvokeAI (PyPI)): In invoke-ai/invokeai version v5.0.2, the web API POST /api/v1/images/delete is vulnerable to Arbitrary File Deletion.…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-03-20
date_modified: 2025-10-15
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-11042"
kev: false
cvss: 9.1
epss: 0.01564
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-11042: InvokeAI Arbitrary File Deletion vulnerability

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.6% , percentile 75: FIRST’s model estimates a 1.6% chance of exploitation activity in the next 30 days, higher than 75% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes InvokeAI (PyPI) < 5.3.0rc1, fixed in 5.3.0rc1 . Check your lockfile, including transitive dependencies.

## What it is

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

- PyPI `InvokeAI` < 5.3.0rc1 → fixed: 5.3.0rc1

## Affected products (CVE record)

- invoke-ai invoke-ai/invokeai: unspecified < 5.3.0

## Severity

- @huntr_ai CVSS 3.0: 9.1 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub CVSS 3.1: 9.1 `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 1.56% probability of exploitation activity in the next 30 days; percentile 75.

## Sources

- [GitHub Advisory GHSA-227r-w5j2-6243](https://github.com/advisories/GHSA-227r-w5j2-6243)
- [CVE.org record CVE-2024-11042](https://www.cve.org/CVERecord?id=CVE-2024-11042)
- [NVD entry CVE-2024-11042](https://nvd.nist.gov/vuln/detail/CVE-2024-11042)
- [huntr.com](https://huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987)
- [github.com](https://github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a)

---
Source page: https://erroneo.us/security/cve/CVE-2024-11042/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
