CVE-2025-6237
InvokeAI has External Control of File Name or Path
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| pip::GitHub Security Advisory pip | invokeai | 6.7.0 |
Referenzen
- https://github.com/invoke-ai/InvokeAI
- https://github.com/invoke-ai/InvokeAI/blob/v6.0.0a1/invokeai/app/api/routers/images.py#L493-L524
- https://github.com/invoke-ai/InvokeAI/pull/8548/commits/eff565ae6ace1c8458f187245690bff0513f1b9e
- https://github.com/invoke-ai/InvokeAI/releases/tag/v6.7.0
- https://github.com/pypa/advisory-database/tree/main/vulns/invokeai/PYSEC-2026-359.yaml
- https://huntr.com/bounties/54ac9589-7c88-4fd4-8512-8b2f19fbaedf
- https://nvd.nist.gov/vuln/detail/CVE-2025-6237
- https://pypi.org/project/invokeai