MediumVulnerability
CVE-2024-1727: Gradio CSRF allows uploading large files to local systems
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-1727
- Published
- Record updated
- Affected
- gradio < 4.19.2
- Fixed in
- 4.19.2
- released February 22, 2024, 29 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
CVE-2024-1727 is a Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio that affects the file upload functionality implemented in gradio/routes.py. A crafted malicious HTML page can trigger unauthorized uploads of multiple large files to a victim's system when Gradio is running locally, which can deplete disk space and potentially cause a denial of service.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- gradioPyPILLM dependency since 2023-03-14 · 11 tracked dependents
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online