ADVISORIES

Vulnerability

CVE-2024-1729

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories

  • GHSA-hmx6-r76c-85g9

    Gradio apps vulnerable to timing attacks to guess password

    Moderate CVE-2024-1729 PyPI Updated 10 September 2026
  • PYSEC-2026-1416

    Gradio apps vulnerable to timing attacks to guess password

    CVE-2024-1729 PyPI Updated 7 July 2026

References