CVE-2026-65012CWE-306

InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder

Medium · published July 22, 2026

CVSS v4.0
6.3
EPSS
0%
Percentile
37.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00440 · 37.2th percentile
Weakness
CWE-306 · Missing Authentication for Critical Function
Published
2026-07-22T16:13Z
EPSS history
Timeline
  • 22 JUL 16:13Z
    InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder
    cvelistv5