Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. InvokeAI
  4. ›
  5. CVE-2024-11042

CVE-2024-11042: InvokeAI Arbitrary File Deletion vulnerability

March 20, 2025 (updated March 21, 2025)

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.

References

  • github.com/advisories/GHSA-227r-w5j2-6243
  • github.com/invoke-ai/InvokeAI
  • github.com/invoke-ai/invokeai/commit/5440c037674882b2ab7acd59087e9bb04b49657a
  • huntr.com/bounties/635535a7-c804-4789-ac3a-48d951263987
  • nvd.nist.gov/vuln/detail/CVE-2024-11042

Code Behaviors & Features

Detect and mitigate CVE-2024-11042 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.0rc1

Fixed versions

  • 5.3.0rc1

Solution

Upgrade to version 5.3.0rc1 or above.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/InvokeAI/CVE-2024-11042.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.