Advisory

GHSA-6f6x-f56q-5xgv

Also known as: CVE-2024-10821, PYSEC-2026-1466

Summary

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

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

invokeai

PyPI · All systems

Affected

  • introduced 0, last affected 5.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences