Vulnerability in Invoke-Ai Invoke-Ai/invokeai

CVE-2024-10821

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`.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.006, 51.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • dannyEndorTest/invokeai (last pushed 2026-05-20): EXPOSURE demo target (invokeai) — HOT baseline for CVE-2024-10821. See README.
  • dannyEndorTest/invokeai-consumer (last pushed 2026-05-20): Demo consumer for invokeai 5.0.1 (CVE-2024-10821; version named in CVE prose) — endorctl scan target

References