# CVE-2026-65012: InvokeAI < 6.13.7 Unauthenticated Directory Enumeration via scan_folder

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-22T16:13:58.807Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- invoke-ai InvokeAI: before 6.13.7

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/invoke-ai/InvokeAI/issues/9365> (exploit, issue-tracking, technical-description)
- <https://github.com/invoke-ai/InvokeAI/releases/tag/v6.13.7> (patch, release-notes)
- <https://github.com/invoke-ai/InvokeAI/pull/9367> (issue-tracking, patch)
- <https://github.com/invoke-ai/InvokeAI/commit/d315b8967f548732912bd9b390853ed4af97d8cb> (patch)
- <https://www.vulncheck.com/advisories/invokeai-unauthenticated-directory-enumeration-via-scan-folder> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65012](https://www.cve.org/CVERecord?id=CVE-2026-65012), CVE Terms of Use, modified 2026-07-24
- NVD: [CVE-2026-65012](https://nvd.nist.gov/vuln/detail/CVE-2026-65012), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65012 · Whole record: https://cve.day/CVE-2026-65012.json · Rebuilt by cve.day 2026-11-25T22:59:29.839Z
