{"id":"CVE-2024-1728","aliases":["GHSA-m842-4qm8-7gpq","PYSEC-2026-345"],"title":"Gradio allows users to access arbitrary files","summary":"Gradio allows users to access arbitrary files","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","vendor":"gradio","product":"gradio","ecosystem":"pip","affected":["gradio < 4.19.2"],"patched":["gradio 4.19.2"],"published":"2024-09-25","updated":"2026-10-27","sourceUpdated":"2026-10-27T16:45:03.549535448Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-m842-4qm8-7gpq","references":[{"url":"https://github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpq"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1728"},{"url":"https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7"},{"url":"https://github.com/gradio-app/gradio"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-345.yaml"},{"url":"https://huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068a"},{"url":"https://pypi.org/project/gradio"},{"url":"https://github.com/advisories/GHSA-m842-4qm8-7gpq"}],"tags":["osv","pip","exploit-available","ghsa"],"epss":0.85393,"epssPercentile":0.99717,"exploits":{"nuclei":["CVE-2024-1728"],"checkedAt":"2026-10-27T18:16:08.388Z"},"exploitAvailable":true,"cwe":["CWE-22"],"ingestedAt":"2026-10-27T17:33:23.777Z","slug":"CVE-2024-1728","body":"## Overview\n\n### 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\n\n## Affected packages\n\n- `gradio < 4.19.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `gradio 4.19.2`","depth":"midnight","depthScore":74,"depthScoreParts":{"impact":44.6,"likelihood":17.1,"exploitation":12,"ransomware":0},"changes":[{"seq":230126,"id":"CVE-2024-1728","ts":1793124969822,"field":"severity","old":"critical","new":"high"}]}