Gradio allows users to access arbitrary files
### Impact This 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. ### Patches Yes, 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. Fixed in: https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7 CVE: https://nvd.nist.gov/vuln/detail/CVE-2024-1728
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-1728US | high7.5 | — | ||
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/gradio-app/gradioPACKAGE
- https://github.com/gradio-app/gradio/commit/16fbe9cd0cffa9f2a824a0165beb43446114eec7WEB
- https://github.com/gradio-app/gradio/security/advisories/GHSA-m842-4qm8-7gpqWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2026-345.yamlWEB
- https://huntr.com/bounties/9bb33b71-7995-425d-91cc-2c2a2f2a068aWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-1728ADVISORY
- https://pypi.org/project/gradioWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan