InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-65012
PublishedInvokeAI 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-65012 · CVE overview and exploitation status
cve-program · CVE-2026-65012
- https://github.com/invoke-ai/InvokeAI/issues/9365
- https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7
- https://github.com/invoke-ai/InvokeAI/pull/9367
- https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb
- https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.