Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af9
- 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-enumerat
FAQ
What is CVE-2026-65012?
CVE-2026-65012 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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. Unauthentic...
How severe is CVE-2026-65012?
CVE-2026-65012 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65012?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.