Vulnerability · Published Jul 22, 2026 · Assigned by VulnCheck
CVE-2026-65012InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder
Medium 5.3
In plain English
A medium-severity missing authentication in InvokeAI from invoke-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- Researcher Disclosure technical-description, exploit, issue-tracking
- InvokeAI 6.13.7 Release Notes release-notes, patch
- Pull Request issue-tracking, patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder third-party-advisory