CVE-2024-1727

CSRF Vulnerability in gradio-app/gradio

Published Mar 21, 2024 CVSS 3.0 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1407 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.
Github GHSA Github GHSA GHSA-48cq-79qq-6f7x Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
History
Type Values Removed Values Added
First Time appeared Gradio Project
Gradio Project gradio
CPEs cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
Vendors & Products Gradio Project
Gradio Project gradio
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 6:48 PM
Reserved
Feb 21, 2024, 9:55 PM
Status
Analyzed
Published
Mar 21, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:04 AM