Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2024-11042 EUVD-2025-7073GHSA-227r-w5j2-6243PYSEC-2026-358

Arbitrary File Delete in invoke-ai/invokeai

Published Mar 20, 2025 · Updated Oct 15, 2025 · Assigned by @huntr_ai

Description

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 products

VendorProductAffectedFixed
invoke-ai invoke-ai/invokeai unspecified – < 5.3.0 5.3.0

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • gothburz/CVE-2024-11042 ★ 0 · Mar 21, 2025

    Proof-of-concept for In invoke-ai/invokeai version v5.0.2 Arbitrary File Deletion.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI invokeai < 5.3.0rc1 5.3.0rc1 GHSA-227r-w5j2-6243

References