CVE-2026-65012 Details
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.
A directory enumeration vulnerability has been identified in InvokeAI versions prior to 6.13.7. The issue resides in the model management API, specifically within the 'scan_folder' endpoint. This vulnerability allows unauthenticated attackers to recursively enumerate server filesystem directories by manipulating the 'scan_path' parameter. The API's response codes can be used to infer the existence and readability of files, effectively bypassing access controls in multi-user mode.
Users are advised to upgrade to InvokeAI version 6.13.7 or later, where this vulnerability has been addressed. After upgrading, it is recommended to rotate any API tokens or keys that may have been exposed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 22, 2026CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb | [email protected] | Source CodeVendor |
| https://github.com/invoke-ai/InvokeAI/issues/9365 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/invoke-ai/InvokeAI/pull/9367 | [email protected] | Issue TrackingVendor |
| https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| InvokeAI | < 6.13.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 22, 2026 | New CVE Received | [email protected] |
Volerion