Loading advisory.
Loading advisory.
Gradio has several components with post-process steps allow arbitrary file leaks
What kind of vulnerability is it? Who is impacted?
Published 2024-10-10 22:03 UTC · Modified 2025-01-21 17:36 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| gradio | PyPI | < 5.0.0 versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1 and 534 more | 5.0.0 | pip install --upgrade 'gradio>=5.0.0' |
What kind of vulnerability is it? Who is impacted?
This is a data validation vulnerability affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. Attackers can exploit these components by crafting requests that bypass expected input constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those that return or handle file data.
String to FileData: DownloadButton, Audio, ImageEditor, Video, Model3D, File, UploadButton.
Complex data to FileData: Chatbot, MultimodalTextbox.
Direct file read in preprocess: Code.
Dictionary converted to FileData: ParamViewer, Dataset.
A developer creates a Dropdown list that passes values to a DownloadButton. An attacker bypasses the allowed inputs, sends an arbitrary file path (like /etc/passwd), and downloads sensitive files.
An attacker crafts a malicious payload in a ParamViewer component, leaking sensitive files from a server through the arbitrary file leak.
Yes, the issue has been resolved in gradio>5.0. Upgrading to the latest version will mitigate this vulnerability.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.008 on 2026-11-24 to 0.011 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.011 | 0.008 | v2026.06.15 |