CVE-2024-1729
MEDIUM 5.9CVSS 3.0Gradio apps vulnerable to timing attacks to guess password
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.
- Published
- 29 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-367
- Also known as
- GHSA-hmx6-r76c-85g9PYSEC-2026-1416
- Sources
- NVDJSONOSV GHSA-hmx6-r76c-85g9JSONOSV PYSEC-2026-1416JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
>= 4.18.0, < 4.19.2 | 4.19.2 |
| OSV | PyPI | gradio | < 4.19.2 | 4.19.2 |
References
- https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b · Patch, WEB, FIX
- https://huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124 · Exploit, Third Party Advisory, WEB
- https://github.com/gradio-app/gradio/security/advisories/GHSA-hmx6-r76c-85g9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-1729 · ADVISORY
- https://github.com/gradio-app/gradio · PACKAGE
- https://github.com/gradio-app/gradio/releases/tag/gradio%404.19.2 · WEB
- https://pypi.org/project/gradio · PACKAGE
- https://github.com/advisories/GHSA-hmx6-r76c-85g9 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 29 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Feb 2024)