CVE-2024-11042CWE-73

Arbitrary File Delete in invoke-ai/invokeai

Critical · published March 20, 2025

CVSS v3.0
9.1
EPSS
2%
Percentile
75.1
In the wild
Unconfirmed
What it is

🚨 One careless API call can open the floodgates! An attacker can delete any file they want on the server with a simple request to the `/api/v1/images/delete` endpoint in invoke-ai/invokeai version v5.0.2. 🔥 Think of this vulnerability like giving a pizza delivery person a master key to your kitchen — if they can access any room, they could throw out essential ingredients or even the entire recipe book! The implications are absolutely devastating. An attacker could wipe out critical files like SSH keys or configuration documents, jeopardizing the integrity and availability of your applications. This could lead to downtime, data loss, and a massive headache for your team.

Put simply

Think of this vulnerability like giving a pizza delivery person a master key to your kitchen — if they can access any room, they could throw out essential ingredients or even the entire recipe book! This vulnerability in invoke-ai allows unauthorized users to make a `POST` request that can delete any arbitrary file on the server, exposing it to severe risks if exploited.

What to do

The implications are absolutely devastating. An attacker could wipe out critical files like SSH keys or configuration documents, jeopardizing the integrity and availability of your applications. This could lead to downtime, data loss, and a massive headache for your team. Immediately patch to version v5.0.3 to close this vulnerability. Review your API security practices to ensure that only authorized requests can be made to sensitive endpoints, and consider implementing stricter access controls. 🔒 You've got this! Act fast to secure your server and keep everything running smoothly. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01564 · 75.1th percentile
Weakness
CWE-73 · External Control of File Name or Path
Published
2025-03-20T10:08Z
EPSS history
Timeline
  • 20 MAR 10:08Z
    Arbitrary File Delete in invoke-ai/invokeai
    cvelistv5