Live threats

All CVEs / Gradio Project

CVE-2024-1729Gradio Project Gradio

Medium 5.9 No auth needed

Priority
50
CVSS 3.0
5.9
EPSS
0.6%
probability of exploitation in 30 days · percentile 40
Auth required
No
Published
Mar 29, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-367
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`app.auth[username] == password`) to validate user credentials, which can be exploited to guess passwords based on response times. Successful exploitation of this vulnerability could allow an attacker to bypass authentication mechanisms and gain unauthorized access.

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-hmx6-r76c-85g9, PYSEC-2026-1416). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio≥ 4.18.0 < 4.19.2

Official sources

References

Links published by the sources. Open them with care.