Unauthenticated Directory Enumeration in InvokeAI by Stability AI
CVE-2026-65012
Key Information:
Badges
What is CVE-2026-65012?
InvokeAI prior to version 6.13.7 presents a vulnerability in the /api/v2/models/scan_folder endpoint, which allows unauthenticated users to exploit the scan_path parameter. This flaw permits attackers to recursively enumerate server filesystem directories, effectively exposing sensitive information without any user authentication. By utilizing specific HTTP response codes, attackers can ascertain the existence and accessibility of files, thereby circumventing established multi-user mode access controls and posing a significant security risk.
Affected Version(s)
InvokeAI 0 < 6.13.7
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
