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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-306 — Missing Authentication for Critical Function
Affected products
| Vendor | Product | Versions |
|---|---|---|
| invoke-ai | InvokeAI | 0 to <6.13.7 |
References
- https://github.com/invoke-ai/InvokeAI/issues/9365 (technical-description exploit)
- https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7 (release-notes)
- https://github.com/invoke-ai/InvokeAI/pull/9367 (issue-tracking)
- https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb (patch)
- https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder (third-party-advisory)
Generated from the official CVE List on 23 Jul 2026 07:04 UTC.