CVE-2026-65012
InvokeAI before 6.13.7 contains an unauthenticated directory …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb
- github.com/invoke-ai/InvokeAI/issues/9365
- github.com/invoke-ai/InvokeAI/pull/9367
- github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7
- www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folde
- nvd.nist.gov/vuln/detail/CVE-2026-65012
- cve.org/CVERecord?id=CVE-2026-65012
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.