Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-11042Arbitrary File Delete in invoke-ai/invokeai

Critical 9.1

In plain English

A critical-severity security flaw in invoke-ai/invokeai from invoke-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.1Critical
Exploit odds (30 days)1.6%top 24.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIinvokeai5.3.0rc1GHSA-227r-w5j2-6243
PyPIinvokeai5.3.0rc1PYSEC-2026-358

Affected products (as reported)

VendorProductVersions
invoke-ai invoke-ai/invokeai unspecified – before 5.3.0

Weakness: CWE-73 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References