Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-1727 EUVD-2024-1407GHSA-48cq-79qq-6f7xPYSEC-2026-1409

CSRF Vulnerability in gradio-app/gradio

Published Mar 21, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
gradio-app gradio-app/gradio unspecified – < 4.19.2 4.19.2

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio < 4.19.2 4.19.2 GHSA-48cq-79qq-6f7x

References