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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-306"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65012.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.13.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v6.13.7",
"range": [
{
"fixed": "8d707080e28f51e0222e3e02c4c55e99d29fb6e6"
}
],
"source": "REFERENCES_TAG"
},
{
"range": [
{
"fixed": "d315b8967f548732912bd9b390853ed4af97d8cb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}