Skip to content
MediumVulnerability

CVE-2026-65012: InvokeAI unauthenticated directory enumeration through scan_folder endpoint

Identifier
CVE-2026-65012
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

InvokeAI before 6.13.7 contains an unauthenticated directory enumeration flaw in the GET /api/v2/models/scan_folder endpoint, which accepts an attacker-controlled scan_path parameter. Unauthenticated attackers can recursively enumerate arbitrary server filesystem directories and infer file existence and readability from HTTP response codes, bypassing multi-user mode access controls.

Mitigation

Fixed in 6.13.7 (source states InvokeAI before 6.13.7 is affected; upgrade to 6.13.7 or later).