What’s Vulnerable › Vulnerabilities
CVE-2026-65012: InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-22 · updated 2026-10-24
- Weakness: CWE-306
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
- invoke-ai InvokeAI: before 6.13.7 — fixed in 6.13.7
How to fix
Upgrade to a fixed version: invoke-ai InvokeAI 6.13.7. Check the vendor advisory for mitigations.
References
- https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb
- https://github.com/invoke-ai/InvokeAI/issues/9365
- https://github.com/invoke-ai/InvokeAI/pull/9367
- https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7
- https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder
Get alerted when CVE-2026-65012 or the next vulnerability affects your stack