CVE-2025-6237
Path Traversal and Arbitrary File Deletion in invoke-ai/invokeai
Description
A vulnerability in invokeai version v6.0.0a1 and below allows attackers to perform path traversal and arbitrary file deletion via the GET /api/v1/images/download/{bulk_download_item_name} endpoint. By manipulating the filename arguments, attackers can read and delete any files on the server, including critical system files such as SSH keys, databases, and configuration files. This vulnerability results in high confidentiality, integrity, and availability impacts.
INFO
Published Date :
Sept. 18, 2025, 9:15 a.m.
Last Modified :
June 17, 2026, 10:01 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.0 | CRITICAL | [email protected] |
Solution
- Update invokeai to the latest version.
- Restrict access to the API endpoint.
- Sanitize all user-supplied file inputs.
- Implement proper file access controls.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6237.
| URL | Resource |
|---|---|
| https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf | |
| https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6237 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6237
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6237 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-6237 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'invoke-ai', 'product': 'invoke-ai/invokeai', 'versions': [{'status': 'affected', 'version': 'unspecified', 'versionType': 'custom', 'lessThanOrEqual': 'latest'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-6237', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2025-09-18T13:31:15.765857Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 18, 2025
Action Type Old Value New Value Added Reference https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf -
New CVE Received by [email protected]
Sep. 18, 2025
Action Type Old Value New Value Added Description A vulnerability in invokeai version v6.0.0a1 and below allows attackers to perform path traversal and arbitrary file deletion via the GET /api/v1/images/download/{bulk_download_item_name} endpoint. By manipulating the filename arguments, attackers can read and delete any files on the server, including critical system files such as SSH keys, databases, and configuration files. This vulnerability results in high confidentiality, integrity, and availability impacts. Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-73 Added Reference https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf