InvokeAI has External Control of File Name or Path
The bulk downloads API in InvokeAI concatenated a user-supplied file name into a filesystem path without canonicalisation, allowing an unauthenticated attacker to read files outside the media directory. In some storage configurations, the same flaw could also overwrite or delete files referenced by the crafted path.
invoke-ai/invokeai
Critical