Live threats

All CVEs / Gradio Project

CVE-2024-1727Gradio Project Gradio

Medium 4.3 No auth needed

Priority
41
CVSS 3.0
4.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 28
Auth required
No
Published
Mar 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gradio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gradio < 4.19.2 4.19.2 pip install "gradio>=4.19.2"
PyPI gradio < 4.19.2 4.19.2 pip install "gradio>=4.19.2"

Per OSV / GitHub Advisories (GHSA-48cq-79qq-6f7x, PYSEC-2026-1409). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio≥ 4.16.0 < 4.19.2

Official sources

References

Links published by the sources. Open them with care.