Skip to main content

InvokeAI CVE-2026-65012

| EUVDEUVD-2026-47744 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-07-22 VulnCheck GHSA-r6m9-hrqm-hx9h
6.3
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
6.3 MEDIUM
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Network endpoint with no auth required (AV:N, PR:N); VC:L for filesystem path and file existence disclosure only, with no integrity or availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 22, 2026 - 17:20 vuln.today
Analysis Generated
Jul 22, 2026 - 17:20 vuln.today
CVE Published
Jul 22, 2026 - 16:13 cve.org
MEDIUM 6.3

DescriptionCVE.org

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.

AnalysisAI

Unauthenticated directory enumeration in InvokeAI before 6.13.7 exposes arbitrary server filesystem paths via the GET /api/v2/models/scan_folder endpoint, which accepts attacker-controlled scan_path parameters without requiring authentication. Beyond path traversal and file existence probing, the vendor's own release notes confirm a closely related attack path capable of recovering full contents of invokeai.yaml and api_keys.yaml - files that may contain API tokens for HuggingFace, Civitai, Alibaba, and OpenAI services. A publicly available exploit exists (GitHub issue #9365); no active exploitation is confirmed in CISA KEV.

Technical ContextAI

InvokeAI is an open-source AI image generation platform built on latent diffusion models. The vulnerable component is the model management REST API (v2), specifically the GET /api/v2/models/scan_folder endpoint, which is designed to scan server directories for compatible model files. The root cause is CWE-306 (Missing Authentication for Critical Function): the endpoint accepts a scan_path query parameter and recursively processes it without enforcing authentication, even in multi-user mode where access controls are expected to partition administrator and regular-user capabilities. The CVSS 4.0 AT:P metric reflects that exploitation is conditioned on the InvokeAI instance being bound to a network-reachable interface (0.0.0.0 or equivalent), a non-default configuration for local single-user installs but common in shared, containerized, or cloud-hosted deployments. CPE cpe:2.3:a:invoke-ai:invokeai:*:*:*:*:*:*:*:* covers all versions prior to 6.13.7.

RemediationAI

Upgrade InvokeAI to version 6.13.7, available at https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7. Following the upgrade, rotate all API keys and tokens stored in invokeai.yaml and api_keys.yaml - particularly for HuggingFace, Civitai, Alibaba, and OpenAI - if the instance was ever bound to a network-accessible interface. If immediate upgrade is not possible, restrict the listen host to 127.0.0.1 (localhost only) rather than 0.0.0.0; this prevents remote exploitation but does not address the multi-user mode privilege escalation for locally connected users. Additionally, deploy a reverse proxy or WAF rule to block unauthenticated requests to /api/v2/models/scan_folder as a compensating control; note this requires maintaining proxy rules as the API evolves and is not a substitute for patching.

Share

CVE-2026-65012 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy