CVE-2026-65012: Missing Authentication for Critical Function in invoke-ai InvokeAI
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.
AI Analysis
Technical Summary
CVE-2026-65012 is a directory enumeration vulnerability in InvokeAI before version 6.13.7. The GET /api/v2/models/scan_folder endpoint accepts scan_path parameters without requiring authentication, allowing unauthenticated attackers to recursively enumerate arbitrary directories on the server. Attackers can use HTTP response codes to infer file existence and readability, effectively bypassing multi-user mode access controls. This vulnerability exposes sensitive filesystem information but does not require privileges or user interaction.
Potential Impact
Unauthenticated attackers can enumerate arbitrary directories on the server hosting InvokeAI, potentially gaining knowledge of file existence and structure. This bypasses multi-user mode access controls, which could lead to further targeted attacks or information disclosure. There is no indication of direct code execution or data modification from this vulnerability alone.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to InvokeAI version 6.13.7 or later once available to address this vulnerability. Until then, restrict access to the affected endpoint or deploy network-level controls to limit exposure. Monitor vendor advisories for updates on patch availability.
CVE-2026-65012: Missing Authentication for Critical Function in invoke-ai InvokeAI
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 v4.0
Score 6.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65012 is a directory enumeration vulnerability in InvokeAI before version 6.13.7. The GET /api/v2/models/scan_folder endpoint accepts scan_path parameters without requiring authentication, allowing unauthenticated attackers to recursively enumerate arbitrary directories on the server. Attackers can use HTTP response codes to infer file existence and readability, effectively bypassing multi-user mode access controls. This vulnerability exposes sensitive filesystem information but does not require privileges or user interaction.
Potential Impact
Unauthenticated attackers can enumerate arbitrary directories on the server hosting InvokeAI, potentially gaining knowledge of file existence and structure. This bypasses multi-user mode access controls, which could lead to further targeted attacks or information disclosure. There is no indication of direct code execution or data modification from this vulnerability alone.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to InvokeAI version 6.13.7 or later once available to address this vulnerability. Until then, restrict access to the affected endpoint or deploy network-level controls to limit exposure. Monitor vendor advisories for updates on patch availability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-21T11:32:54.897Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60f1d29c2644c7f85877a2
Added to database: 07/22/2026, 16:37:38 UTC
Last enriched: 07/30/2026, 02:09:04 UTC
Last updated: 09/05/2026, 01:18:53 UTC
Views: 107
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.