What’s Vulnerable › Vulnerabilities

CVE-2026-65012: InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder

Description

InvokeAI before 6.13.7 contains an unauthenticated directory enumeration vulnerability in the GET /api/v2/models/scan_folder endpoint that accepts attacker-controlled scan_path parameters. Unauthenticated attackers can recursively enumerate arbitrary server filesystem directories and use HTTP response codes to determine file existence and readability, bypassing multi-user mode access controls.

Affected products

How to fix

Upgrade to a fixed version: invoke-ai InvokeAI 6.13.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-65012 or the next vulnerability affects your stack