ADVISORIES

GitHub Advisory Database

GHSA-6f6x-f56q-5xgv

InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`

High No fix available CVE-2024-10821PYSEC-2026-1466

Details

A Denial of Service (DoS) vulnerability in the multipart request boundary processing mechanism of the Invoke-AI server (version v5.0.1) allows unauthenticated attackers to cause excessive resource consumption. The server fails to handle excessive characters appended to the end of multipart boundaries, leading to an infinite loop and a complete denial of service for all users. The affected endpoint is /api/v1/images/upload.

Affected packages

EcosystemPackageAffected versions
PyPIinvokeai
All versions up to and including 5.0.2

References