Vulnerability
CVE-2024-1727
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-48cq-79qq-6f7x
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
-
PYSEC-2026-1409
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files