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.
Advisories
-
GHSA-hmx6-r76c-85g9
Gradio apps vulnerable to timing attacks to guess password
-
PYSEC-2026-1416
Gradio apps vulnerable to timing attacks to guess password