{"cve":"CVE-2024-1729","nvd":{"published":"2024-03-29T05:15:45.477","modified":"2026-06-17T07:04:53.117","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-367"],"references":["https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b","https://huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124","https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b","https://huntr.com/bounties/f6a10a8d-f538-4cb7-9bb2-85d9f5708124"],"products":["gradio_project:gradio"],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2024-1729","score":0.00501,"percentile":0.42929,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hmx6-r76c-85g9","url":"https://osv.dev/vulnerability/GHSA-hmx6-r76c-85g9","summary":"Gradio apps vulnerable to timing attacks to guess password","modified":"2026-09-10T03:50:06.179675521Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":["<4.19.2"],"fixed":["4.19.2"]}]},{"id":"PYSEC-2026-1416","url":"https://osv.dev/vulnerability/PYSEC-2026-1416","summary":"Gradio apps vulnerable to timing attacks to guess password","modified":"2026-07-07T17:47:40.256281104Z","packages":[{"ecosystem":"PyPI","name":"gradio","purl":"pkg:pypi/gradio","ranges":["<4.19.2"],"fixed":["4.19.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}