NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Gradio

CVE-2024-10569: Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip Bomb

highCVSS 3.0 7.5GHSA-7xmc-vhjp-qv5q

The Gradio dataframe component, in versions 4.0.0 through 5.0.0b2, reads input with `pd.read_csv`, which accepts compressed files. An unauthenticated attacker can upload a zip bomb and crash the server. The advisory lists no patched version.

Published Mar 20, 2025 · Analysis Nov 1, 2026

What an attacker can do

The dataframe component in gradio/components/dataframe.py passes input values to pd.read_csv. Pandas can decompress files while reading, so a small crafted archive can expand to a huge size in memory. The server runs out of memory or CPU and crashes.

The CVSS 3.0 vector (7.5) is network, low complexity, no privileges, no user interaction and high availability impact only. Any Gradio app that includes a dataframe component and is reachable by untrusted users can be taken down by one upload. Gradio demos are often shared publicly through links or hosted spaces, and one process often serves every user, so a crash ends service for all of them until a restart. The advisory does not describe data theft or code execution.

Who is affected

The gradio package on PyPI from 4.0.0 up to and including 5.0.0b2, per the advisory. The reference code is commit 98cbcae. Apps are exposed when they use a dataframe component that takes user input and can be reached by untrusted users. Check your version:

pip show gradio

Then search your app code for gr.Dataframe and gr.DataFrame.

gradio

Ecosystem
PyPI
Affected
>= 4.0.0, <= 5.0.0b2
Fixed in
No patched version yet
Check
pip show gradio

How to fix it

The advisory lists no patched version. Check the Gradio releases that follow 5.0.0b2 and their notes for changes to the dataframe component. The sources name no workaround. General mitigations are to put the app behind authentication, to cap request and upload size at your reverse proxy, to set memory limits on the process or container, and to restart it automatically if it dies. Remove the dataframe component from public apps if you do not need it.

How to tell if you were hit

Look for out-of-memory kills (OOM killer lines in dmesg, container restarts with exit code 137) of your Gradio process. Check access logs for unusual uploads or very large requests just before those crashes, and for requests to the upload and dataframe processing routes from one source. A crash loop right after a single upload is a strong signal.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

A vulnerability in the dataframe component of gradio-app/gradio (version git 98cbcae) allows for a zip bomb attack. The component uses pd.read_csv to process input values, which can accept compressed files. An attacker can exploit this by uploading a maliciously crafted zip bomb, leading to a server crash and causing a denial of service.

Questions

Is there a Gradio version that fixes CVE-2024-10569?

The advisory lists none. It covers 4.0.0 through 5.0.0b2. Check newer Gradio releases and their notes.

Does my app need a Dataframe component to be affected?

The advisory places the flaw in the dataframe component, so apps without it are not described as affected.

Can this lead to data theft or code execution?

No source says so. The impact is availability only.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Gradio vulnerabilities

All Gradio entries