CVE-2024-11042
JSON

9.1critical

Arbitrary File Delete in invoke-ai/invokeai

Severity
9.1critical CVSS:3.0 by @huntr_ai
Exploit likelihood
1.55% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-227r-w5j2-6243PYSEC-2026-358

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

Product or packageVersionsReported by
invoke-ai invoke-ai/invokeaifrom unspecified before 5.3.0CVE List
invokeai (PyPI)before 5.3.0rc1GitHub Advisory Database, PyPA Advisory Database

All scores

@huntr_ai9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
PyPA Advisory Database9.1critical CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-20CWE-22CWE-73

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En la versión v5.0.2 de evolve-ai/invokeai, la API web `POST /api/v1/images/delete` es vulnerable a la eliminación arbitraria de archivos. Esta vulnerabilidad permite a atacantes no autorizados eliminar archivos arbitrarios del servidor, incluyendo potencialmente archivos críticos o sensibles del sistema, como claves SSH, bases de datos SQLite y archivos de configuración. Esto puede afectar la integridad y la disponibilidad de las aplicaciones que dependen de estos archivos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-11042 changed 2025-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-227r-w5j2-6243 changed 2026-10-27CC-BY-4.0
NVDCVE-2024-11042 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-358 changed 2026-07-01CC-BY-4.0