Advisory record · GHSA-227r-w5j2-6243

InvokeAI Arbitrary File Deletion vulnerability

CVSS 9.1 CriticalCriticalEPSS 0.016 · 75th percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 20 Mar 2025, 12:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
invokeaiPyPI<5.3.0rc15.3.0rc1
Identifiers
GHSA-227r-w5j2-6243 · CVE-2024-11042 · PYSEC-2026-358
Weakness (CWE)
CWE-20 · CWE-22 · CWE-73
Published
20 Mar 2025
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The InvokeAI PyPI package, versions before 5.3.0rc1, has an arbitrary file deletion flaw in the web API endpoint POST /api/v1/images/delete, as described for version v5.0.2. The source says an unauthorized attacker can use this endpoint to delete arbitrary files on the server, which could include SSH keys, SQLite databases, and configuration files. The source does not state what network access or account is required. To fix it, upgrade invokeai to 5.3.0rc1 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.016, the 75th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.