Live threats

All CVEs / Gradio Project

CVE-2024-10624Gradio Project Gradio

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Mar 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The affected version is git commit 98cbcae. The vulnerability arises from the use of a regular expression `^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$` to process user input. In Python's default regex engine, this regular expression can take polynomial time to match certain crafted inputs. An attacker can exploit this by sending a crafted HTTP request, causing the gradio process to consume 100% CPU and potentially leading to a Denial of Service (DoS) condition on the server.

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.38.0 ≤ 5.0.0-beta.2 no fixed version —
PyPI gradio ≥ 4.38.0 ≤ 5.0.0-beta.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-rvgh-pr46-x7gg, PYSEC-2026-1421). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio2024-09-18

Official sources

References

Links published by the sources. Open them with care.