{"schema":"threatline.record/2","record":{"id":"CVE-2024-1728","aliases":["GHSA-m842-4qm8-7gpq","PYSEC-2026-345"],"summary":"Gradio allows users to access arbitrary files","details":"### Impact\nThis vulnerability allows users of Gradio applications that have a public link (such as on Hugging Face Spaces) to access files on the machine hosting the Gradio application. This involves intercepting and modifying the network requests made by the Gradio app to the server. \n\n### Patches\nYes, the problem has been patched in Gradio version 4.19.2 or higher. We have no knowledge of this exploit being used against users of Gradio applications, but we encourage all users to upgrade to Gradio 4.19.2 or higher.\n\nFixed in: https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7\nCVE: https://nvd.nist.gov/vuln/detail/CVE-2024-1728","categories":["Libraries & packages"],"product":"gradio","vendor":"gradio-app","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-m842-4qm8-7gpq","source_modified_at":"2026-10-27T16:34:18Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"gradio"},"range":"< 4.19.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-1728","source_modified_at":"2024-08-01T18:48:22.046Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"gradio-app/gradio","vendor":"gradio-app","versions":[{"version":"unspecified","lessThan":"4.19.2","status":"affected","versionType":"custom"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-m842-4qm8-7gpq","source_modified_at":"2026-10-27T16:45:03.549535448Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"gradio","ecosystem":"PyPI","purl":"pkg:pypi/gradio"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.19.2"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.4","0.5.0","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.8.0","0.8.1","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9.2","0.9.9.3","0.9.9.5","0.9.9.6","0.9.9.7","0.9.9.8","0.9.9.9"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-m842-4qm8-7gpq","source_modified_at":"2026-10-27T16:34:18Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"gradio"},"version":"4.19.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-1728","source_modified_at":"2024-08-01T18:48:22.046Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"gradio-app/gradio","ecosystem":null},"version":"4.19.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-m842-4qm8-7gpq","source_modified_at":"2026-10-27T16:45:03.549535448Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"gradio","ecosystem":"PyPI","purl":"pkg:pypi/gradio"},"version":"4.19.2"}],"cvss":9.2,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.85393,"percentile":0.99717,"score_date":"2026-10-27"},"published_at":"2024-04-10T17:07:56.020Z","modified_at":"2026-10-27T16:45:03.549535448Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-m842-4qm8-7gpq","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:34:18Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-1728","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2024-08-01T18:48:22.046Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-m842-4qm8-7gpq","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:45:03.549535448Z"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-1728.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-1728","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","Nuclei","EPSS"],"references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpq","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1728","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068a","tags":["x_transferred"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-345.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/gradio","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-m842-4qm8-7gpq","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","assessed_at":"2024-05-15T18:41:26.382451Z"},"exploits":[{"kind":"Scanner template","name":"Gradio > 4.19.1 UploadButton - Path Traversal","source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-1728.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T16:45:03.549535448Z","content_hash":"bbc762f14d0fb5f9c0089be4eabf4f4b49e0b6ca66bd0b299da42806bf463d19"}}
