Advisory

GHSA-227r-w5j2-6243

Also known as: CVE-2024-11042, PYSEC-2026-358

Summary

InvokeAI Arbitrary File Deletion vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-10-27 17:00 UTC

Affected packages and fixes

invokeai

PyPI · All systems

Affected

  • introduced 0, fixed 5.3.0rc1 (ecosystem)

Fixed versions

5.3.0rc1

Fix

  • Fixed version 5.3.0rc1
    pip install --upgrade invokeai==5.3.0rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences