Vulnerabilities · 2024 · Gradio Project
CVE-2024-1727
Gradio Project Gradio vulnerability
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.
Affected products
Gradio. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a · Patch
- huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff · Exploit
- github.com/gradio-app/gradio/security/advisories/GHSA-48cq-79qq-6f7x
- nvd.nist.gov/vuln/detail/CVE-2024-1727
- github.com/gradio-app/gradio/pull/7503
- github.com/advisories/GHSA-48cq-79qq-6f7x
- nvd.nist.gov/vuln/detail/CVE-2024-1727
- cve.org/CVERecord?id=CVE-2024-1727
More vulnerabilities in Gradio Project products
CVE-2025-48889CVE-2025-23042CVE-2025-0187CVE-2024-51751CVE-2024-48052CVE-2024-47872CVE-2024-47871CVE-2024-47870All 42
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.