CVE-2026-65012

InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder

State
Published
Severity
6.3 Medium
Published
Jul 22, 2026
Updated
Jul 24, 2026
Reserved
Jul 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NVulnCheck

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
InvokeAIinvoke-ai
  • before 6.13.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.