CVE-2026-65012
InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder
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.
INFO
Published Date :
July 22, 2026, 5:16 p.m.
Last Modified :
Oct. 24, 2026, 1:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update InvokeAI to version 6.13.7 or later.
- Verify scan_folder endpoint access controls.
- Restrict filesystem access to the application.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-65012.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-65012 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-65012
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-65012 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-65012 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: InvokeAI de invoke-ai, Description: InvokeAI anterior a 6.13.7 contiene una vulnerabilidad de enumeración de directorios no autenticada en el endpoint GET /API/v2/models/scan_folder que acepta parámetros scan_path controlados por el atacante. Atacantes no autenticados pueden enumerar recursivamente directorios arbitrarios del sistema de archivos del servidor y usar códigos de respuesta HTTP para determinar la existencia y legibilidad de archivos, eludiendo los controles de acceso del modo multiusuario. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 23, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-65012', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-23T15:54:56.142450Z'} -
New CVE Received by [email protected]
Jul. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/invoke-ai/InvokeAI', 'vendor': 'invoke-ai', 'product': 'InvokeAI', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '6.13.7', 'versionType': 'semver'}], 'packageURL': 'pkg:pypi/InvokeAI', 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-306 Added Reference https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb Added Reference https://github.com/invoke-ai/InvokeAI/issues/9365 Added Reference https://github.com/invoke-ai/InvokeAI/pull/9367 Added Reference https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7 Added Reference https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder