CVE-2026-65012: Missing Authentication for Critical Function in invoke-ai InvokeAI
InvokeAI versions prior to 6.13.7 have a vulnerability in the GET /api/v2/models/scan_folder endpoint that allows unauthenticated attackers to enumerate server filesystem directories by manipulating the scan_path parameter. This bypasses multi-user mode access controls and reveals file existence and readability information via HTTP response codes. The vulnerability has a medium severity rating with a CVSS score of 6.3.
AI Analysis
Technical Summary
CVE-2026-65012 is a missing authentication vulnerability in InvokeAI before version 6.13.7. The GET /api/v2/models/scan_folder endpoint accepts attacker-controlled scan_path parameters without authentication, enabling unauthenticated attackers to recursively enumerate arbitrary directories on the server filesystem. This allows attackers to bypass multi-user mode access controls and infer file existence and readability based on HTTP response codes. No official remediation or patch has been confirmed as of the published date.
Potential Impact
Unauthenticated attackers can perform directory enumeration on the server hosting InvokeAI, potentially exposing the presence and readability of sensitive files. This bypasses intended multi-user mode access controls, increasing the risk of information disclosure. There is no indication of remote code execution or data modification from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict network access to the affected endpoint and monitor for suspicious requests targeting the /api/v2/models/scan_folder endpoint. Avoid exposing the service to untrusted networks.
CVE-2026-65012: Missing Authentication for Critical Function in invoke-ai InvokeAI
Description
InvokeAI versions prior to 6.13.7 have a vulnerability in the GET /api/v2/models/scan_folder endpoint that allows unauthenticated attackers to enumerate server filesystem directories by manipulating the scan_path parameter. This bypasses multi-user mode access controls and reveals file existence and readability information via HTTP response codes. The vulnerability has a medium severity rating with a CVSS score of 6.3.
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 missing authentication vulnerability in InvokeAI before version 6.13.7. The GET /api/v2/models/scan_folder endpoint accepts attacker-controlled scan_path parameters without authentication, enabling unauthenticated attackers to recursively enumerate arbitrary directories on the server filesystem. This allows attackers to bypass multi-user mode access controls and infer file existence and readability based on HTTP response codes. No official remediation or patch has been confirmed as of the published date.
Potential Impact
Unauthenticated attackers can perform directory enumeration on the server hosting InvokeAI, potentially exposing the presence and readability of sensitive files. This bypasses intended multi-user mode access controls, increasing the risk of information disclosure. There is no indication of remote code execution or data modification from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict network access to the affected endpoint and monitor for suspicious requests targeting the /api/v2/models/scan_folder endpoint. Avoid exposing the service to untrusted networks.
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/22/2026, 16:53:41 UTC
Last updated: 07/22/2026, 17:30:19 UTC
Views: 18
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.