Unauthenticated Directory Enumeration in InvokeAI by Stability AI
CVE-2026-65012

6.3MEDIUM

Key Information:

Vendor

Invoke-ai

Status
Vendor
CVE Published:
22 July 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

George Chen
.