CVE-2025-6237: invoke-ai/invokeai · External Control of File Name or Path
Affects invoke-ai/invokeaiSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Immediate mitigation steps include restricting access to the vulnerable endpoint through network-level controls such as firewalls or API gateways, limiting exposure to trusted internal networks only. Organizations should implement strict input validation and sanitization on the 'bulk_download_item_name' parameter to prevent path traversal sequences (e.g., '..', absolute paths). Until an official patch is released, consider deploying web application firewalls (WAFs) with custom rules to detect and block suspicious path traversal attempts targeting this endpoint. Regularly audit server file permissions to ensure that the invoke-ai process runs with the least privileges necessary, preventing it from accessing or deleting critical system files. Monitoring logs for unusual access patterns or file deletion activities related to the API endpoint can provide early detection of exploitation attempts. Finally, organizations should plan for rapid patch deployment once a fix becomes available and conduct thorough testing to verify the vulnerability is resolved.
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.