# CVE-2025-6237: Path Traversal and Arbitrary File Deletion in invoke-ai/invokeai

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-18T08:34:08.039Z
- Modified: 2026-10-27T17:30:37.976Z
- Also known as: GHSA-vv9c-xxg7-wmv7, PYSEC-2026-359
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A vulnerability in invokeai version v6.0.0a1 and below allows attackers to perform path traversal and arbitrary file deletion via the GET /api/v1/images/download/{bulk_download_item_name} endpoint. By manipulating the filename arguments, attackers can read and delete any files on the server, including critical system files such as SSH keys, databases, and configuration files. This vulnerability results in high confidentiality, integrity, and availability impacts.

(As written by CVE List.)

## Affected

- invoke-ai invoke-ai/invokeai: from unspecified up to latest
- invokeai (PyPI): before 6.7.0

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6237> (advisory)
- <https://github.com/invoke-ai/InvokeAI/pull/8548/commits/eff565ae6ace1c8458f187245690bff0513f1b9e> (web)
- <https://github.com/invoke-ai/InvokeAI> (package)
- <https://github.com/invoke-ai/InvokeAI/blob/v6.0.0a1/invokeai/app/api/routers/images.py#L493-L524> (web)
- <https://github.com/invoke-ai/InvokeAI/releases/tag/v6.7.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-359.yaml> (web)
- <https://pypi.org/project/invokeai> (package, web)
- <https://github.com/advisories/GHSA-vv9c-xxg7-wmv7> (advisory)

## Sources

- CVE List: [CVE-2025-6237](https://www.cve.org/CVERecord?id=CVE-2025-6237), CVE Terms of Use, modified 2025-09-18
- GitHub Advisory Database: [GHSA-vv9c-xxg7-wmv7](https://github.com/advisories/GHSA-vv9c-xxg7-wmv7), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2025-6237](https://nvd.nist.gov/vuln/detail/CVE-2025-6237), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-359](https://osv.dev/vulnerability/PYSEC-2026-359), CC-BY-4.0, modified 2026-07-01

---

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