CVE-2024-11042
Python vulnerability analysis and mitigation

Overview

In invoke-ai/invokeai version v5.0.2, the web API POST /api/v1/images/delete endpoint contains a vulnerability that enables Arbitrary File Deletion. This security flaw was discovered and disclosed in March 2025, affecting the InvokeAI application (NVD).

Technical details

The vulnerability is classified as an Improper Input Validation (CWE-20) issue. The affected endpoint allows unauthorized attackers to delete arbitrary files on the server through directory traversal. The severity of this vulnerability has been assessed with a CVSS v3.0 base score of 9.1 (CRITICAL) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (NVD).

Impact

The vulnerability enables attackers to delete critical system files, including SSH keys, SQLite databases, and configuration files. This can severely impact the integrity and availability of applications relying on these files (NVD).

Mitigation and workarounds

A patch has been implemented to prevent directory traversal attacks through two safeguards: checking for directory traversal characters in image names and verifying that resulting paths are relative to the base folder. The fix is available in the repository commit (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management