Vulnerabilities · 2024 · Gradio Project
CVE-2024-1729
Gradio Project Gradio vulnerability
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.
Affected products
Gradio. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b · Patch
- huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124 · Exploit
- github.com/gradio-app/gradio/security/advisories/GHSA-hmx6-r76c-85g9
- github.com/gradio-app/gradio/releases/tag/gradio%404.19.2
- nvd.nist.gov/vuln/detail/CVE-2024-1729
- github.com/advisories/GHSA-hmx6-r76c-85g9
- nvd.nist.gov/vuln/detail/CVE-2024-1729
- cve.org/CVERecord?id=CVE-2024-1729
More vulnerabilities in Gradio Project products
CVE-2025-48889CVE-2025-23042CVE-2025-0187CVE-2024-51751CVE-2024-48052CVE-2024-47872CVE-2024-47871CVE-2024-47870All 42
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.