ADVISORIES

PyPA Advisory Database

PYSEC-2026-1410

Gradio DOS in multipart boundry while uploading the file

Details

A vulnerability in the file upload process of gradio-app/gradio version @gradio/[email protected] allows for a Denial of Service (DoS) attack. An attacker can append a large number of characters to the end of a multipart boundary, causing the system to continuously process each character and issue warnings. This can render Gradio inaccessible for extended periods, disrupting services and causing significant downtime.

Affected packages

EcosystemPackageAffected versions
PyPIgradio
All versions up to and including 5.22.0

References