CVE-2025-6237
CRITICAL 9.8CVSS 3.0InvokeAI has External Control of File Name or Path
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.
- Published
- 18 Sep 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-vv9c-xxg7-wmv7PYSEC-2026-359
- Sources
- NVDJSONOSV GHSA-vv9c-xxg7-wmv7JSONOSV PYSEC-2026-359JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | invokeai | < 6.7.0 | 6.7.0 |
References
- https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf · 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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-vv9c-xxg7-wmv7 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 18 Sep 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Sep 2025)